.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH MKDIR 1 "2026-04-07" .SH NAME mkdir \- Create the given DIRECTORY(ies) if they do not exist .SH SYNOPSIS \fBmkdir\fR [\fB\-m\fR|\fB\-\-mode\fR] [\fB\-p\fR|\fB\-\-parents\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-Z \fR] [\fB\-\-context\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIdirs\fR> .SH DESCRIPTION Create the given DIRECTORY(ies) if they do not exist .SH OPTIONS .TP \fB\-m\fR, \fB\-\-mode\fR set file mode (not implemented on windows) .TP \fB\-p\fR, \fB\-\-parents\fR make parent directories as needed .TP \fB\-v\fR, \fB\-\-verbose\fR print a message for each printed directory .TP \fB\-Z\fR set SELinux security context of each created directory to the default type .TP \fB\-\-context\fR \fI\fR like \-Z, or if CTX is specified then set the SELinux or SMACK security context to CTX .TP \fB\-h\fR, \fB\-\-help\fR Print help .TP \fB\-V\fR, \fB\-\-version\fR Print version .TP <\fIdirs\fR> .SH EXTRA Each MODE is of the form [ugoa]*([\-+=]([rwxXst]*|[ugo]))+|[\-+=]?[0\-7]+. .SH VERSION v(uutils coreutils) 0.8.0