bash printf 0 padding code example Example: bash zero padding for i in $(seq -f "%05g" 10 15) do echo $i done