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