.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH MKDIR "1" "August 2022" "GNU coreutils 8.32" "User Commands" .SH NAME mkdir \- manual page for mkdir 8.32 .SH SYNOPSIS .B mkdir [\fI\,OPTION\/\fR]... \fI\,DIRECTORY\/\fR... .SH DESCRIPTION Create the DIRECTORY(ies), if they do not already exist. .PP Mandatory arguments to long options are mandatory for short options too. .TP \fB\-m\fR, \fB\-\-mode\fR=\fI\,MODE\/\fR set file mode (as in chmod), not a=rwx \- umask .TP \fB\-p\fR, \fB\-\-parents\fR no error if existing, make parent directories as needed .TP \fB\-v\fR, \fB\-\-verbose\fR print a message for each created directory .TP \fB\-Z\fR set SELinux security context of each created directory to the default type .TP \fB\-\-context\fR[=\fI\,CTX\/\fR] like \fB\-Z\fR, or if CTX is specified then set the SELinux or SMACK security context to CTX .TP \fB\-\-help\fR display this help and exit .TP \fB\-\-version\fR output version information and exit .PP GNU coreutils online help: Report any translation bugs to Full documentation or available locally via: info '(coreutils) mkdir invocation' .SH AUTHOR Written by David MacKenzie. .SH COPYRIGHT Copyright \(co 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.