BSD 4_3_Reno development
[unix-history] / usr / share / man / cat1 / mkdir.0
MKDIR(1) UNIX Reference Manual MKDIR(1)
N\bNA\bAM\bME\bE
m\bmk\bkd\bdi\bir\br - make directories
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
m\bmk\bkd\bdi\bir\br [-\b-p\bp _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by__\bn_\ba_\bm_\be ...]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
M\bMk\bkd\bdi\bir\br creates the directories named as operands, in the order specified,
using mode 0777 modified by the current umask(2).
The options are as follows:
-\b-p\bp Create intermediate directories as required. If this option is not
specified, the full path prefix of each operand must already exist.
The user must have write permission in the parent directory.
M\bMk\bkd\bdi\bir\br exits 0 if successful, and >0 if an error occurred.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
rmdir(1)
S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
Mkdir is POSIX 1003.2 compliant.
This manual page is derived from the POSIX 1003.2 manual page.