Home Privacy Policy Feedback Link to us Site Map Forums

UNIX Basic commands: mkdir


The mkdir command creates a single directories or multiple directories.

The syntax for the mkdir command is:

mkdir [options] directories

options:

-m mode Sets the access mode for the new directory.
-p If the parent directories don't exist, this command creates them.

Examples:

mkdir -m 444 tech
mkdir -p tech/net/faqs


* Please note that there are many flavors of UNIX, so if in doubt, consult your man pages.