Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This section discusses how to create directories (mkdir), switch between directories (cd), remove directories (rmdir), use pathnames to make your work easier, and move and copy files and directories between directories. It concludes with a section that lists and describes briefly important standard directories and files in the Ubuntu filesystem.
The mkdir utility creates a directory. The argument (page 1135) to mkdir becomes the pathname of the new directory. The following examples develop the directory structure shown in Figure 6-7. In the figure, the directories that are added appear in a lighter shade than the others and are connected by dashes.