for循环控制语句

来源:互联网 发布:淘宝买ipad mini4 编辑:程序博客网 时间:2024/04/27 01:29

 
如果在shell命令行直接输入for循环,则如下:

for i in a b c;do echo $i;done;#中间的;号不能省略,必须有。