I just used mkdir myDir{1,2,3} to create 3 directories called myDir1, myDir2 and myDir3 in the same root directory. Now I'm trying to create 5 subdirectories in each by using
mkdir ~/myDir*/subDir{1,2,3,4,5}
but it's giving me a file already exists message. When I do an ls on the root directory or check in each of the myDir directories, nothing is in them. I've also tried the variation mkdir /myDir*/subDir{1,2,3,4,5} while in the root directory just in case with the same result.
Thanks.