creating directories in less than 3 commands [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-7
down vote

favorite













This question is an exact duplicate of:



  • Problem with assignment [closed]


I can only use 3 commands to make 8 directories and a answer file.I used the first command to create a answer file. The second command I used to create 2 of the directories. I've run out of commands to use and still have to do 6 directories. Is there a specific command that allows you to create multiple directories in one step.







share|improve this question














marked as duplicate by Jeff Schaller, Stephen Rauch, Tomasz, G-Man, peterh Oct 29 '17 at 21:13


This question was marked as an exact duplicate of an existing question.










  • 2




    You question is vague. What is an answer file? Why 8 directories? Why 3 commands? I suggest you to spend more time on composing your question than people posting answers to it.
    – Can Burak Çilingir
    Oct 29 '17 at 19:55















up vote
-7
down vote

favorite













This question is an exact duplicate of:



  • Problem with assignment [closed]


I can only use 3 commands to make 8 directories and a answer file.I used the first command to create a answer file. The second command I used to create 2 of the directories. I've run out of commands to use and still have to do 6 directories. Is there a specific command that allows you to create multiple directories in one step.







share|improve this question














marked as duplicate by Jeff Schaller, Stephen Rauch, Tomasz, G-Man, peterh Oct 29 '17 at 21:13


This question was marked as an exact duplicate of an existing question.










  • 2




    You question is vague. What is an answer file? Why 8 directories? Why 3 commands? I suggest you to spend more time on composing your question than people posting answers to it.
    – Can Burak Çilingir
    Oct 29 '17 at 19:55













up vote
-7
down vote

favorite









up vote
-7
down vote

favorite












This question is an exact duplicate of:



  • Problem with assignment [closed]


I can only use 3 commands to make 8 directories and a answer file.I used the first command to create a answer file. The second command I used to create 2 of the directories. I've run out of commands to use and still have to do 6 directories. Is there a specific command that allows you to create multiple directories in one step.







share|improve this question















This question is an exact duplicate of:



  • Problem with assignment [closed]


I can only use 3 commands to make 8 directories and a answer file.I used the first command to create a answer file. The second command I used to create 2 of the directories. I've run out of commands to use and still have to do 6 directories. Is there a specific command that allows you to create multiple directories in one step.





This question is an exact duplicate of:



  • Problem with assignment [closed]








share|improve this question













share|improve this question




share|improve this question








edited Oct 30 '17 at 1:33









Jeff Schaller

32.1k849109




32.1k849109










asked Oct 29 '17 at 19:28









roonald

12




12




marked as duplicate by Jeff Schaller, Stephen Rauch, Tomasz, G-Man, peterh Oct 29 '17 at 21:13


This question was marked as an exact duplicate of an existing question.






marked as duplicate by Jeff Schaller, Stephen Rauch, Tomasz, G-Man, peterh Oct 29 '17 at 21:13


This question was marked as an exact duplicate of an existing question.









  • 2




    You question is vague. What is an answer file? Why 8 directories? Why 3 commands? I suggest you to spend more time on composing your question than people posting answers to it.
    – Can Burak Çilingir
    Oct 29 '17 at 19:55













  • 2




    You question is vague. What is an answer file? Why 8 directories? Why 3 commands? I suggest you to spend more time on composing your question than people posting answers to it.
    – Can Burak Çilingir
    Oct 29 '17 at 19:55








2




2




You question is vague. What is an answer file? Why 8 directories? Why 3 commands? I suggest you to spend more time on composing your question than people posting answers to it.
– Can Burak Çilingir
Oct 29 '17 at 19:55





You question is vague. What is an answer file? Why 8 directories? Why 3 commands? I suggest you to spend more time on composing your question than people posting answers to it.
– Can Burak Çilingir
Oct 29 '17 at 19:55











1 Answer
1






active

oldest

votes

















up vote
1
down vote













Yes mkdir:



mkdir dira dirb dirc dird


Creates four directories dira, dirb, dirc, and dird.



In one go:



mkdir dira..d





share|improve this answer




















  • And mkdir -p a/b/c to shorten mkdir a a/b a/b/c (and avoid the errors when the directories already exist).
    – Stéphane Chazelas
    Oct 29 '17 at 19:59






  • 2




    Don’t we have a ‘‘Please don’t feed the bears.’’ policy?   We probably should.
    – G-Man
    Oct 29 '17 at 20:57










  • @G-Man Would you like to explain your comment, Thanks.
    – Arrow
    Oct 29 '17 at 21:21






  • 1




    You are doing other people's university coursework for them. unix.meta.stackexchange.com/questions/4206 unix.stackexchange.com/questions/401294
    – JdeBP
    Oct 29 '17 at 21:51






  • 2




    … and, by doing so, encouraging them to bring their homework problems to us as a first resort (rather than as a last resort) in the future. Just as feeding wild animals teaches them that people are a good source of food, which can only lead to trouble.
    – G-Man
    Oct 29 '17 at 21:57

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













Yes mkdir:



mkdir dira dirb dirc dird


Creates four directories dira, dirb, dirc, and dird.



In one go:



mkdir dira..d





share|improve this answer




















  • And mkdir -p a/b/c to shorten mkdir a a/b a/b/c (and avoid the errors when the directories already exist).
    – Stéphane Chazelas
    Oct 29 '17 at 19:59






  • 2




    Don’t we have a ‘‘Please don’t feed the bears.’’ policy?   We probably should.
    – G-Man
    Oct 29 '17 at 20:57










  • @G-Man Would you like to explain your comment, Thanks.
    – Arrow
    Oct 29 '17 at 21:21






  • 1




    You are doing other people's university coursework for them. unix.meta.stackexchange.com/questions/4206 unix.stackexchange.com/questions/401294
    – JdeBP
    Oct 29 '17 at 21:51






  • 2




    … and, by doing so, encouraging them to bring their homework problems to us as a first resort (rather than as a last resort) in the future. Just as feeding wild animals teaches them that people are a good source of food, which can only lead to trouble.
    – G-Man
    Oct 29 '17 at 21:57














up vote
1
down vote













Yes mkdir:



mkdir dira dirb dirc dird


Creates four directories dira, dirb, dirc, and dird.



In one go:



mkdir dira..d





share|improve this answer




















  • And mkdir -p a/b/c to shorten mkdir a a/b a/b/c (and avoid the errors when the directories already exist).
    – Stéphane Chazelas
    Oct 29 '17 at 19:59






  • 2




    Don’t we have a ‘‘Please don’t feed the bears.’’ policy?   We probably should.
    – G-Man
    Oct 29 '17 at 20:57










  • @G-Man Would you like to explain your comment, Thanks.
    – Arrow
    Oct 29 '17 at 21:21






  • 1




    You are doing other people's university coursework for them. unix.meta.stackexchange.com/questions/4206 unix.stackexchange.com/questions/401294
    – JdeBP
    Oct 29 '17 at 21:51






  • 2




    … and, by doing so, encouraging them to bring their homework problems to us as a first resort (rather than as a last resort) in the future. Just as feeding wild animals teaches them that people are a good source of food, which can only lead to trouble.
    – G-Man
    Oct 29 '17 at 21:57












up vote
1
down vote










up vote
1
down vote









Yes mkdir:



mkdir dira dirb dirc dird


Creates four directories dira, dirb, dirc, and dird.



In one go:



mkdir dira..d





share|improve this answer












Yes mkdir:



mkdir dira dirb dirc dird


Creates four directories dira, dirb, dirc, and dird.



In one go:



mkdir dira..d






share|improve this answer












share|improve this answer



share|improve this answer










answered Oct 29 '17 at 19:30









Arrow

2,400218




2,400218











  • And mkdir -p a/b/c to shorten mkdir a a/b a/b/c (and avoid the errors when the directories already exist).
    – Stéphane Chazelas
    Oct 29 '17 at 19:59






  • 2




    Don’t we have a ‘‘Please don’t feed the bears.’’ policy?   We probably should.
    – G-Man
    Oct 29 '17 at 20:57










  • @G-Man Would you like to explain your comment, Thanks.
    – Arrow
    Oct 29 '17 at 21:21






  • 1




    You are doing other people's university coursework for them. unix.meta.stackexchange.com/questions/4206 unix.stackexchange.com/questions/401294
    – JdeBP
    Oct 29 '17 at 21:51






  • 2




    … and, by doing so, encouraging them to bring their homework problems to us as a first resort (rather than as a last resort) in the future. Just as feeding wild animals teaches them that people are a good source of food, which can only lead to trouble.
    – G-Man
    Oct 29 '17 at 21:57
















  • And mkdir -p a/b/c to shorten mkdir a a/b a/b/c (and avoid the errors when the directories already exist).
    – Stéphane Chazelas
    Oct 29 '17 at 19:59






  • 2




    Don’t we have a ‘‘Please don’t feed the bears.’’ policy?   We probably should.
    – G-Man
    Oct 29 '17 at 20:57










  • @G-Man Would you like to explain your comment, Thanks.
    – Arrow
    Oct 29 '17 at 21:21






  • 1




    You are doing other people's university coursework for them. unix.meta.stackexchange.com/questions/4206 unix.stackexchange.com/questions/401294
    – JdeBP
    Oct 29 '17 at 21:51






  • 2




    … and, by doing so, encouraging them to bring their homework problems to us as a first resort (rather than as a last resort) in the future. Just as feeding wild animals teaches them that people are a good source of food, which can only lead to trouble.
    – G-Man
    Oct 29 '17 at 21:57















And mkdir -p a/b/c to shorten mkdir a a/b a/b/c (and avoid the errors when the directories already exist).
– Stéphane Chazelas
Oct 29 '17 at 19:59




And mkdir -p a/b/c to shorten mkdir a a/b a/b/c (and avoid the errors when the directories already exist).
– Stéphane Chazelas
Oct 29 '17 at 19:59




2




2




Don’t we have a ‘‘Please don’t feed the bears.’’ policy?   We probably should.
– G-Man
Oct 29 '17 at 20:57




Don’t we have a ‘‘Please don’t feed the bears.’’ policy?   We probably should.
– G-Man
Oct 29 '17 at 20:57












@G-Man Would you like to explain your comment, Thanks.
– Arrow
Oct 29 '17 at 21:21




@G-Man Would you like to explain your comment, Thanks.
– Arrow
Oct 29 '17 at 21:21




1




1




You are doing other people's university coursework for them. unix.meta.stackexchange.com/questions/4206 unix.stackexchange.com/questions/401294
– JdeBP
Oct 29 '17 at 21:51




You are doing other people's university coursework for them. unix.meta.stackexchange.com/questions/4206 unix.stackexchange.com/questions/401294
– JdeBP
Oct 29 '17 at 21:51




2




2




… and, by doing so, encouraging them to bring their homework problems to us as a first resort (rather than as a last resort) in the future. Just as feeding wild animals teaches them that people are a good source of food, which can only lead to trouble.
– G-Man
Oct 29 '17 at 21:57




… and, by doing so, encouraging them to bring their homework problems to us as a first resort (rather than as a last resort) in the future. Just as feeding wild animals teaches them that people are a good source of food, which can only lead to trouble.
– G-Man
Oct 29 '17 at 21:57


Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay