How to create a new directory
mkdir
Create new folder(s), if they do not already exist. To create a directory, simply pass its name to the command. For example:
$ mkdir mydir
Or you can use mkdir command with -p option. This option will attempt to create the directory, but don’t complain if a directory already exists, and will make parent directories as needed. For example:
