for variable in {list} do command command .... done
示例代码:
for v in 1 2 3 4 5 do echo $v done
或者简写的形式 {1..5}
for v in {1..5} do echo $v done