foriin {1..10};doecho$i;done12345678910a=(1 2 3 4)foryin"${a[@]}";doecho"$y";done1234for(( i =0; i <10; i++));doecho"The iteration number is $i";doneThe iteration number is 0The iteration number is 1The iteration number is 2The iteration number is 3The iteration number is 4The iteration number is 5The iteration number is 6The iteration number is 7The iteration number is 8The iteration number is 9