Slackware Linux Essentials
Slackware Logo

News

Forum

FAQ

Book

General Info

Get Slack

ZipSlack

Install Help

Configuration

Packages

ChangeLogs

Other Sites

Search

Booth!

Support

Contact

Mailing Lists

About

 
mkdir

mkdir

mkdir(1) will create a new directory. You simply specify the directory to create when you run mkdir. This example creates the hejaz directory in the current directory:

   $ mkdir hejaz
   

You can also specify a path, like this:

   $ mkdir /usr/local/hejaz
   

The -p option will tell mkdir to make any parent directories. The above example will fail if /usr/local does not exist. The -p option will create /usr/local and /usr/local/hejaz:

   $ mkdir -p /usr/local/hejaz
   
Slackware® is a registered trademark of Walnut Creek CDROM and Patrick Volkerding.