摘要: bash heredoc reference article 最后一行标识符不能有空格 heredoc multi line comment << tips hello world tips echo hello lina heredoc cat message cat << tips hello 阅读全文
posted @ 2021-04-18 22:45 MOVIT 阅读(43) 评论(0) 推荐(0)
摘要: bash特殊变量 变量 含义 $0 函数名 \(n | n>=1,表示第一个、第二个、第n个参数、\)(10) $@ 全部参数 $* 全部参数 $# 参数个数 $_ 上一个命令的最后一个参数 $$ 当前shell进程ID $? 上一个命令的返回值 function test() { for i in 阅读全文
posted @ 2021-04-18 11:08 MOVIT 阅读(38) 评论(0) 推荐(0)