2012-12-05 16 views
0
konsole --noclose -e --rcfile /filepathtomyscript 

我試圖執行上面的命令,因爲我想的konsole可以執行的命令與參數列表,如的Konsole執行腳本

lftp 
open... 
login 
put.... 

不過,我一直得到錯誤。你可以幫我嗎?非常感謝。 到目前爲止我發現的所有例子只是執行一個命令。

回答

0

試試這個

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

Konsole Man Page

-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. 
+0

當我嘗試了,我得到了警告:無法啓動程序」 .. ''有論點'...'。程序和參數都在警告消息中相同。 –

+0

你能否給我一個錯誤的確切副本。 – Blackninja543

+0

警告:無法用參數'/home/ubuntu/Desktop/perfTest/input1/simple.sh'啓動程序'/home/ubuntu/Desktop/perfTest/input1/simple.sh「 –