.TH MKDIR 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME mkdir \(em make directories .SH SYNOPSYS \fBmkdir\fR [-p] [-m \fImode\fR] \fIdir\fR... .SH DESCRIPTION Create the directory specified by each \fIdir\fR operand, provided it does not already exist. .SH OPTIONS The following options are supported: .TP .B -p Create all parent directories as required. .TP .B -m \fImode\fR Set the file mode of the created directory. .TP .B --help Display help information. .TP .B --version Display version information. .SH OPERANDS The following operand is supported: .TP .I dir A path of a directory to be created. .SH EXIT STATUS The following exit values will be returned: .TP \ 0 Successful completion. .TP >0 An error occurred. .SH STANDARDS The \fImkdir\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2") specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling MIT Licence (https://opensource.org/licenses/MIT) .fi