Can I create multiple directories and files in each directory with just one command?
by ABIDRAZ4 from LinuxQuestions.org on (#6ES5R)
Can I create multiple directories and files in each directory with just one command?
I tried this "mkdir one ;cd one ;touch file1 ;mkdir two ;cd two ;touch file2" it worked but I am not sure if there is another easier way to do this?
I tried this "mkdir one ;cd one ;touch file1 ;mkdir two ;cd two ;touch file2" it worked but I am not sure if there is another easier way to do this?