标签:roo col blog done highlight gpo for循环 数字 post
1.数字段形式
for i in {1..10} do echo $i done
结果:
[root@lb02 ~]# sh 2.sh 1 2 3 ......
shell语句for循环
原文地址:https://www.cnblogs.com/machangwei-8/p/8457496.html