首页 > 代码库 > shell for 循环

shell for 循环

for i in 1,2,3,4,5,6do     echo $i;    echo ii;done输出:1,2,3,4,5,6iifor i in {1,2,3,4,5,6}do    echo $i;    echo iidone输出:1ii2ii3ii4ii5ii6ii

 

shell for 循环