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