摘要:
001、 [root@PC1 test1]# ls ## 准备两个测试文件 a.sh b.sh [root@PC1 test1]# cat a.sh ## a文件 #!/bin/bash echo $* [root@PC1 test1]# cat b.sh ## b文件 #!/bin/bash se 阅读全文
posted @ 2024-01-21 12:57
小鲨鱼2018
阅读(178)
评论(0)
推荐(0)
摘要:
001、两者都可以表示shell脚本的所有参数,两者没有差异(不管是否增加双引号) 举例: a、不加双引号 [root@PC1 test1]# ls ## 准备了两个测试脚本 a.sh b.sh [root@PC1 test1]# cat a.sh ## a.sh的内容如下 #!/bin/bash 阅读全文
posted @ 2024-01-21 11:49
小鲨鱼2018
阅读(905)
评论(0)
推荐(0)

浙公网安备 33010602011771号