BSD 4_4 development
[unix-history] / usr / share / man / cat1 / mkdir.0
MKDIR(1) BSD 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_\b__\bn_\ba_\bm_\be _\b._\b._\b.
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
The m\bmk\bkd\bdi\bir\br utility is expected to be IEEE Std1003.2 (``POSIX'') compati-
ble.
4.4BSD May 31, 1993 1