当前位置 : 凯旋网络 > Shell
Linux程式设计-11.ShellScript(bash)--(13)Bash内建指令集
Bash内建指令集 以下的命令,大部份都没有使用例,您可能会看不出所以然,摸不着头脑。在我加入例说明前,建议您'manbash',然後自己实际操作一次。 -----------------------------------------...
Linux程式设计-11.ShellScript(bash)--(10)控制圈while/until
whilelistdolistdone 当list为True时,该圈会不停地执行。 例一:无限回圈写法 #!/bin/sh while:;do echo'dosomethingforeverhere' sleep5 done 例二:强迫把pppd杀掉。 #!/bin/sh while[-f/var/r...
  • 广告位