bash generate a ranges code example Example: bash for loop step for i in `seq 0 2 10`; do echo $i; done