Creating a directory and parents directory in unix
Posted
by
eveo
on Stack Overflow
See other posts from Stack Overflow
or by eveo
Published on 2012-10-05T20:06:42Z
Indexed on
2012/10/05
21:37 UTC
Read the original article
Hit count: 1827
I can't believe such a simple homework question is messing with me:
Enter the Linux command to create both a parent directory called 'systems' and it's child directory called 'part3' at the same time. Assume that directory 'systems' will branch-off your home directory and that you are in your home directory to start. Use a relative pathname.
You entered: mkdir -p ~/part3/systems/
Please try again.
Hint:
Use mkdir with the appropriate option
Tried:
mkdir -p ~/systems/part3/
mkdir -p ~systems/part3
mkdir -p ~/systems/part3
mkdir -p ~/systems/part3
mkdir ~/systems/part3/
mkdir ~systems/part3
mkdir ~/systems/part3
mkdir ~/systems/part3
© Stack Overflow or respective owner