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