for i in {1..10}; do echo $i; done
1
2
3
4
5
6
7
8
9
10
a=(1 2 3 4)
for y in "${a[@]}"; do echo "$y"; done
1
2
3
4
for (( i = 0; i < 10; i++ )); do echo "The iteration number is $i"; done
The iteration number is 0
The iteration number is 1
The iteration number is 2
The iteration number is 3
The iteration number is 4
The iteration number is 5
The iteration number is 6
The iteration number is 7
The iteration number is 8
The iteration number is 9