for i in $(seq -f "%05g" 10 15) do echo $i done
for num in {1..5} do value=$(printf "%02d" $num) ... Use $value for your purposes done