I am trying to create a file using the mkdir -p command.
Using mkdir -p ~/1/2/3/4, how would I put files (w,x) into /2, and (y,z) into /3 all in a single command?
I know I could use a touch command after creating the directories, though I am trying to figure out how to do all of this with regular expressions using a single command.
As a newbie trying to figure his way around, a solution to this problem would be greatly appreciated. Thanks!