0
konsole --noclose -e --rcfile /filepathtomyscript
我試圖執行上面的命令,因爲我想的konsole可以執行的命令與參數列表,如的Konsole執行腳本
lftp
open...
login
put....
不過,我一直得到錯誤。你可以幫我嗎?非常感謝。 到目前爲止我發現的所有例子只是執行一個命令。
konsole --noclose -e --rcfile /filepathtomyscript
我試圖執行上面的命令,因爲我想的konsole可以執行的命令與參數列表,如的Konsole執行腳本
lftp
open...
login
put....
不過,我一直得到錯誤。你可以幫我嗎?非常感謝。 到目前爲止我發現的所有例子只是執行一個命令。
試試這個
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.
當我嘗試了,我得到了警告:無法啓動程序」 .. ''有論點'...'。程序和參數都在警告消息中相同。 –
你能否給我一個錯誤的確切副本。 – Blackninja543
警告:無法用參數'/home/ubuntu/Desktop/perfTest/input1/simple.sh'啓動程序'/home/ubuntu/Desktop/perfTest/input1/simple.sh「 –