shell學習筆記(一):for循環、if語句、通配符、命令代換、引號

1、for循環shell for 變量in列表vim dobash command1svn command2spa ......ci done字符串例1:vim test.sh #! /bin/bashstring for str in name.listfor循環 dotest echo $str done例2:vim tesh.sh #! /bin/bash  for((i=0;i<10;i+
相關文章
相關標籤/搜索