shell range code example Example 1: bash for interval for i in $(seq 1 $END); do echo $i; done Example 2: bash list of integers vals=($(seq 0 0.1 2.5))