creating directories in less than 3 commands [duplicate]
Clash 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.
linux directory
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.
add a comment |Â
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.
linux directory
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
add a comment |Â
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.
linux directory
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]
linux directory
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
add a comment |Â
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
add a comment |Â
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
Andmkdir -p a/b/c
to shortenmkdir 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
 |Â
show 3 more comments
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
Andmkdir -p a/b/c
to shortenmkdir 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
 |Â
show 3 more comments
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
Andmkdir -p a/b/c
to shortenmkdir 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
 |Â
show 3 more comments
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
Yes mkdir:
mkdir dira dirb dirc dird
Creates four directories dira
, dirb
, dirc
, and dird
.
In one go:
mkdir dira..d
answered Oct 29 '17 at 19:30
Arrow
2,400218
2,400218
Andmkdir -p a/b/c
to shortenmkdir 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
 |Â
show 3 more comments
Andmkdir -p a/b/c
to shortenmkdir 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
 |Â
show 3 more comments
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