for i in {1..10} ; do ... ; done
for ((i = 1; i <= 10 ; i++)); do
echo $i
done
#!bin/bash
for i in {1..5}
do
echo i:$i
done
for VARIABLE in 1 2 3 4 5 .. N
do
command1
command2
commandN
done
for VARIABLE in file1 file2 file3
do
command1 on $VARIABLE
command2
commandN
done
for FILE in $(ls -A); do la $FILE; done
for var in value1 value2 value3
do
command1 on $var
command2
commandN
done