Creating a New Directory with mkdir
You can also create new directories. You'll do this with the mkdir command.
- 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.