←  linux commands

Views:

mkdir command

The mkdir command is used to create new folder(s).

Syntax: mkdir [options] foldername

Example:

# To create a new folder with name `newfolder`
mkdir newfolder
mkdir-output

Options:

-p Don't throw error if folder already exists

Example:

mkdir -p newfolder
no-error-folder-exists