Making a New Folder

Written by Nick Troccoli

To create a new folder on a unix system, navigate to where you would like to create the folder and use the mkdir command, specifying the name of the folder you would like to create. Then, you can navigate into it using cd:

$ mkdir MyNewFolder
$ cd MyNewFolder

If a folder with that name already exists at that location, mkdir prints an error message.