seq tip Aug 30, 2017 seq – print sequences of numbers Keepin’ it simple. seq is a great util for various iteration tasks. for i in $(seq 0 10); do echo "hey $i"; done # hey 0 # hey 1 # ... # hey 10 Try the -w flag to equalize the width of each number: seq -w 0 10 # 00 # 01 # ... # 10 And change the “increment-by” value too: # seq -w <first> <incr-by> <last> seq -w 0 .01 .1 # 0.00 # 0.01 # ... # 0.10