shell的三种循环及循环控制符 #shell的三种循环 for循环,while循环,until循环 #shell的循环控制符 break,continue #for循环的三种结构 列表 不带列表 类C风格 简单的单行for循环 root@ser552965470679:~# for fruit in apple or ...
eval 动态创建变量命令 num=1 for netiface in `seq 5` do eval netiface_$num=\($num $netiface $netiface_$null\) let num++ done eval命令动态创建变量,变量名为netiface_1、netiface_2、...,依 ...