摘要:
除了显式地直接赋值,还可以用语句给变量赋值,如 #!/bin/bash readonly myUrl="www.google.com"#myUrl="www.baidu.com"echo $myUrl 阅读全文
posted @ 2019-01-10 13:57
MoonXu
阅读(139)
评论(0)
推荐(0)
摘要:
3中方式 1)./1.sh 权限拒绝 2)bash 1.sh产生是个子shell / sh 1.sh 3). 1.sh whereis firefox vi 2.sh #!/bin/bash /usr/bin/firefox 执行 . 2.sh firefox被打开 阅读全文
posted @ 2019-01-10 13:36
MoonXu
阅读(115)
评论(0)
推荐(0)

浙公网安备 33010602011771号