Question

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.

Was it helpful?

Solution

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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top