How to create a new directory

mkdir

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:

mkdir.JPG

Updated
Viewed
54362 times

Need help? We're always here for you.

notmyip