The mkdir Utility
July 19, 1998
Unlike files which can be created by UNIX when
you specify something for them, directories must be
specifically created. When you want to create a directory,
you will typically use the "mkdir" utility. The syntax is
simple:
mkdir -options directory_list
| Options |
Description |
| -m mode |
Specifies the initial permissions |
| -p |
Makes all non-existent children specified in the filename.
For example, "mkdir -p public_html/News" would make both
"public_html" and its sub-directory "News". |
Check out the following example:
Additional Resources:
Directories
Introduction to UNIX for Web Developers | Table of Contents
The rmdir Utility
|