3 mkdir \- make a directory
5 \fBmkdir [\fB\-p\fR] [\fB\-m \fImode\fR] \fIdirectory ...\fR
18 .FL "\-m" "Create directory with mode"
19 .FL "\-p" "Create missing intermediate directories"
21 .EX "mkdir dir" "Create \fIdir\fP in the current directory"
22 .EX "mkdir \-p /user/ast/dir" "Create the \fI/user/ast\fP and \fI/user/ast/dir\fP"
25 The specified directory or directories are created and initialized. If any
26 intermediate directory is missing and \fB\-p\fR is specified, the missing
27 component will be created and no error displayed if directory already
28 exists. If the \fB\-m\fR flag is used, this will be equivalent to a chmod
29 on the directory after its creation.