摘要:
For循环基本语法 #语法1 for 变量名 in 值1 值2 值3。。。 do 程序 done #语法二 for ((初始值;循环控制条件;变量变化)) do 程序 done while 循环 while [ 条件判断 ] do 程序 done Case分支 case $变量名 in "值1") 阅读全文
摘要:
今天学会了.soc脚本,之前都是一行一行写的命令,比较费时费力。现在,一个for循环就可以搞定。 before: # "The 1st port connects to the device TG/Ixia.."# "The remaining ports need to be plugged by 阅读全文