1
konsole --noclose -e --rcfile /filepathtomyscript 

I tried to execute the above commands because i want konsole can execute a list of commands with arguments such as

lftp open... login put.... 

However, I keep get errors. Could you please help me? Thanks a lot. All the examples I found so far just execute a single command.

1 Answer 1

2

Try this

konsole --noclose -e /bin/bash /path/to/my/script 

Konsole Man Page

-e [ arguments ]

 Execute ’command’ instead of shell. It also sets the window title and icon name to be the basename of the program being executed if neither -T nor -n are given on the command line. This must be the last option on the command line. 
Sign up to request clarification or add additional context in comments.

6 Comments

When i tried it, i got the warning: Could not start program '...' with arguments '...'. Both of program and arguments are same in warning message.
warning: could not start program '/home/ubuntu/Desktop/perfTest/input1/simple.sh' with arguments '/home/ubuntu/Desktop/perfTest/input1/simple.sh"
@HuyNguyen OK I see the problem look at my post.
OK so what -e is looking for is an ELF binary to execute, not a script.
I am now confused as to what you are looking for.
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.