max=50 for i in `seq 2 $max` do echo "$i" sleep 0.1 done