1. Computing & Technology
Linux / Unix Command: mkdir
Command Library

NAME

mkdir - make directories  

SYNOPSIS

mkdir [OPTION] DIRECTORY...  

DESCRIPTION

Create the DIRECTORY(ies), if they do not already exist.

Mandatory arguments to long options are mandatory for short options too.

-m, --mode=MODE
set permission mode (as in chmod), not rwxrwxrwx - umask
-p, --parents
no error if existing, make parent directories as needed
-v, --verbose
print a message for each created directory
--help
display this help and exit
--version
output version information and exit
 

SEE ALSO

The full documentation for mkdir is maintained as a Texinfo manual. If the info and mkdir programs are properly installed at your site, the command
info mkdir

should give you access to the complete manual.


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.