运维网's Archiver
论坛
›
Shell/Powershell
› Linux运维系统工程师系列之shell脚本_3
82870034
发表于 2018-8-30 08:37:39
Linux运维系统工程师系列之shell脚本_3
小随笔: shell脚本
shell脚本通常有以下三种方式:
(1)bash script-name或者sh script-name(推荐朋友们使用此种方式,O(∩_∩)O)
(2)path/script-name或者./script-name(即当前路径下执行脚本)
(3)source script-name或者. script-name(注:“.”点号)
页:
[1]
查看完整版本:
Linux运维系统工程师系列之shell脚本_3