for循环 for循环一般用作有限次的循环 for A in {1..10} do mkdir $A done while循环 while循环是无限循环 while : do read A done 脚本语句 break跳出循环continue进入下次循环exit直接退出脚本sleep以……频率执行脚本(单位为秒)