Commit | Line | Data |
---|---|---|
16469013 C |
1 | MKDIR(1) BSD Reference Manual MKDIR(1) |
2 | ||
3 | N\bNA\bAM\bME\bE | |
4 | m\bmk\bkd\bdi\bir\br - make directories | |
5 | ||
6 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
7 | 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. | |
8 | ||
9 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
10 | M\bMk\bkd\bdi\bir\br creates the directories named as operands, in the order specified, | |
11 | using mode 0777 modified by the current umask(2). | |
12 | ||
13 | The options are as follows: | |
14 | ||
15 | -\b-p\bp Create intermediate directories as required. If this option is | |
16 | not specified, the full path prefix of each operand must already | |
17 | exist. | |
18 | ||
19 | The user must have write permission in the parent directory. | |
20 | ||
21 | M\bMk\bkd\bdi\bir\br exits 0 if successful, and >0 if an error occurred. | |
22 | ||
23 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
24 | rmdir(1) | |
25 | ||
26 | S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS | |
27 | The m\bmk\bkd\bdi\bir\br utility is expected to be IEEE Std1003.2 (``POSIX'') compati- | |
28 | ble. | |
29 | ||
30 | 4.4BSD May 31, 1993 1 |