konsole --noclose -e --rcfile /filepathtomyscript
我试图执行上面的命令,因为我希望konsole可以执行带有参数的命令列表,例如
lftp
open...
login
put....
但是,我一直都会遇到错误。请你帮助我好吗?非常感谢。 到目前为止我找到的所有例子都只执行一个命令。
答案 0 :(得分:1)
试试这个
konsole --noclose -e /bin/bash /path/to/my/script
-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.