Creating a New Directory with mkdir

You can also create new directories. You’ll do this with the mkdir command.

✓ Tip

  • You can learn more about the mkdir command and its options on its man pages. Type man mkdir and press to view the command’s man pages.

To create a new directory

Type mkdir directory-name ... and press . For example, mkdir Project1 Project2 Project3 makes three new subdirectories in the current directory: Project1, Project2, and Project3 (Figure 27).

Figure 27. In this example, the mkdir command is used to create three new subdirectories. ...

Get Mac OS X 10.4 Tiger: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.