Commit | Line | Data |
---|---|---|
fe05d503 BJ |
1 | .TH MKDIR 1 |
2 | .SH NAME | |
3 | mkdir \- make a directory | |
4 | .SH SYNOPSIS | |
5 | .B mkdir | |
6 | dirname ... | |
7 | .SH DESCRIPTION | |
8 | .I Mkdir | |
9 | creates specified directories | |
10 | in mode 777. | |
11 | Standard entries, | |
12 | .RB ` . ', | |
13 | for the directory itself, | |
14 | and | |
15 | .BR ` .. ' | |
16 | for its parent, are made automatically. | |
17 | .PP | |
18 | .I Mkdir | |
19 | requires write permission in the parent directory. | |
20 | .SH "SEE ALSO" | |
21 | rm(1) | |
22 | .SH DIAGNOSTICS | |
23 | .I Mkdir | |
24 | returns exit code 0 if all directories were successfully made. | |
25 | Otherwise it prints a diagnostic and returns nonzero. |