Hi Folks
Probably an easy one here but how do I get a sequence to get used as mentioned. For example in the following I want to automatically create files that have a 2 digit number at the end of their names:
m@pyhead:~$ for x in $(seq 00 10); do touch file_$x; done
m@pyhead:~$ ls file*
file_0 file_10 file_3 file_5 file_7 file_9
file_1 file_2 file_4 file_6 file_8
m@pyhead:~$
So instead of file_0 I want file_00, and so forth. What am I doing wrong?
Thanks
A