4.2.5. mkdir — create new directory#

Use mkdir followed by the name of the directory you would like to create:

mkdir Workspace

Attention

The directory you’re creating must not already exist or this command will not work.

As discussed earlier, directory names are case-sensitive, so a directory named Workspace is different from another named workspace.

Spaces in directory names#

If there are spaces in the directory name, use double quotes, for example:

mkdir "Project Work"

Without that, two separate directories — Project and Work will be created.