shell脚本的执行

2017-08-05  本文已影响7人  孤月环舟

如果当前脚本未有执行权限,则需要先加上执行权限:
chmod +x test.sh

执行方式有两种:

  1. ./test.sh
  2. /bin/sh test.sh
上一篇下一篇

猜你喜欢

热点阅读