Common Commands & Syntax:

Note: Commands are case sensitive
mkdir - The make directory command is used to create new directories. It’s syntax is mkdir <desired directory name>

COMMAND

image of entering 'mkdir' command in terminal

OUTPUT

image of output of 'mkdir' command in terminal

In this example, a new directory named “spare_files” was created. You will notice that after displaying a long listing of the directory contents, the newly created directory can be seen in the list.

Previous Page Next Page