Is this possible to create multiple/single directories in Multiple directories in one command?
Asked
Active
Viewed 42 times
1
1 Answers
1
$ mkdir -p {dir1,dir2,dir3}/{home,hostel}
$ ls */*
dir1/home:
dir1/hostel:
dir2/home:
dir2/hostel:
dir3/home:
dir3/hostel:

Rinzwind
- 299,756
mkdir
multiple directory arguments where the same option(s) will be applied to all. – guiverc Mar 20 '24 at 23:03