2014-04-25 71 views

回答

2

添加hashbang作爲腳本的第一行:

#!/bin/sh 

然後將其設置爲可執行文件:

chmod +x test.sh 

那麼你應該能夠與./test.sh運行它。

+0

非常感謝。 – schuma

相關問題