How to create a new directory

SSH Access


Create a new folder/s, if it/they does/do not exist yet. To create a directory, simply pass its name to the command. For example: 

$ mkdir mydir

Or you can use the mkdir command with the -p option. This option will attempt to create the directory, but don’t complain if a directory already exists and will create parent directories as needed. For example: