Linux Command Line Interface: The Basics — Part 5

Austin Songer
Code The World
Published in
1 min readJan 17, 2017

5.0 Creating directories

Creating new directories and files

If you are asked to start a new software project, you’ll almost certainly need to create a directory that can hold more files and directories inside it.

Lets do that:

  1. Execute: mkdir dir2

There should be a brand new dir2 in your file tree, you can execute the lscommand to verify the existance of your new dir2 directory as well.

Command: mkdir

Definition:
The mkdir command makes directories.

Additionally, the mkdir command needs an argument, meaning that the user needs to specify the name of the directory to be created in the following format:

mkdir name_of_the_directory

--

--

Austin Songer
Code The World

Trusted Veteran | Compassionate. Aspiring. Resourceful.