i=1 while [ $i -le 100 ] do echo $i i=$(($i+1)) done //OR i=1 while [ $i -le 100 ] do echo $i i=`expr $i + 1` done //OR for((i=1;i<=100;i++)) do echo $i done