【发布时间】:2012-12-05 00:11:50
【问题描述】:
konsole --noclose -e --rcfile /filepathtomyscript
我尝试执行上述命令,因为我希望 konsole 可以执行带有参数的命令列表,例如
lftp
open...
login
put....
但是,我不断收到错误消息。请你帮助我好吗?非常感谢。 到目前为止,我发现的所有示例都只执行一个命令。
【问题讨论】:
标签: ubuntu-10.04 konsole
konsole --noclose -e --rcfile /filepathtomyscript
我尝试执行上述命令,因为我希望 konsole 可以执行带有参数的命令列表,例如
lftp
open...
login
put....
但是,我不断收到错误消息。请你帮助我好吗?非常感谢。 到目前为止,我发现的所有示例都只执行一个命令。
【问题讨论】:
标签: ubuntu-10.04 konsole
试试这个
konsole --noclose -e /bin/bash /path/to/my/script
-e [参数]
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.
【讨论】:
-e 正在寻找的是要执行的 ELF 二进制文件,而不是脚本。