UNIX Primer

Home | Primer Home


A directory is a special type of file that can contain other files. Think of it like a filing cabinet. A directory is like a labelled folder, while other files are like papers that you keep in that folder. When properly used, directories help you organize your data. In fact, as we will see in the next lesson, it helps organize the entire computer.

Below is the command for creating directories. Once you complete the next lesson, you will understand how to use it.

Related Commands:

mkdir MaKe DIRectory Creates a directory with the specified name.
mkdir <filename>

Designed by D. Kaminsky
Edited by Diana Palsetia
© University of Pennsylvania, 2008