Make Directory (mkdir)
Use: Use the make directory (mkdir) command to create a directory for storing and organizing other files.
eos$ mkdir directory_path
eos$ mkdir -p directory_path
Using the -p option will create every directory in the pathname, assuming it doesn’t already exist.
Example
To create a directory called MyE115 in your home directory:
If you are in your home directory:
eos$ mkdir MyE115
If you are not in your home directory:
eos$ mkdir ~/MyE115
Note: ~/MyE115 is the shortcut for the absolute pathname of the directory you wish to create. The complete absolute pathname would be /mnt/ncsudrive/j/jshmoe/MyE115
To create a directory called basic_unix inside the MyE115 Directory
eos$ mkdir ~/MyE115/basic_unix
To create a directory called basic_unix inside the MyE115 Directory, if MyE115 does not exist
eos$ mkdir -p ~/MyE115/basic_unix
Note: the -p option creates MyE115 as well as basic_unix
Should I expect an output?
No.