2014-04-25 72 views

回答

2

添加hashbang作为脚本的第一行:

#!/bin/sh 

然后将其设置为可执行文件:

chmod +x test.sh 

那么你应该能够与./test.sh运行它。

+0

非常感谢。 – schuma

相关问题