Making a New Folder

NOTE: this website is out of date. This is the course web site from a past quarter. If you are a current student taking the course, you should visit the current class web site instead. If the current quarter's website is easily reached, it may be accessible by visiting this link instead. Please be advised that courses' policies change with each new quarter and instructor, and any information on this out-of-date page may not apply to you.

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.