[Introduction to UNIX for Web Developers]
[Spacer] [Table of Contents]
[Next Page]
[Previous Page]
Creating Directories
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

[mkdir Example]

Previous | Next | Table of Contents