shell脚本4种执行方式 |
您所在的位置:网站首页 › specialized官网怎么取消订单 › shell脚本4种执行方式 |
Linux中shell脚本的执行通常有4种方式,分别为工作目录执行,绝对路径执行,sh执行,shell环境执行。 首先,看下我们的脚本内容 [tan@tan scripts]$ ll total 4 -rw-rw-r--. 1 tan tan 68 May 8 23:18 test.sh [tan@tan scripts]$ cat test.sh #!/usr/bin/bash /usr/bin/python |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |