Blob Blame History Raw
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
.TH MKDIR "1" "July 2018" "GNU coreutils 8.30" "User Commands"
.SH NAME
mkdir \- make directories
.SH SYNOPSIS
.B mkdir
[\fI\,OPTION\/\fR]... \fI\,DIRECTORY\/\fR...
.SH DESCRIPTION
.\" Add any additional description here
.PP
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
.SH AUTHOR
Written by David MacKenzie.
.SH "REPORTING BUGS"
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
.br
Report mkdir translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
mkdir(2)
.PP
.br
Full documentation at: <https://www.gnu.org/software/coreutils/mkdir>
.br
or available locally via: info \(aq(coreutils) mkdir invocation\(aq