Debian Codegraph @

upstream/debian-unstable/man1/mkdir.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
2 .TH MKDIR "1" "February 2026" "GNU coreutils 9.10" "User Commands"
3 .SH NAME
4 mkdir \- make directories
5 .SH SYNOPSIS
6 .B mkdir
7 [\fI\,OPTION\/\fR]... \fI\,DIRECTORY\/\fR...
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Create the DIRECTORY(ies), if they do not already exist.
12 .PP
13 Mandatory arguments to long options are mandatory for short options too.
14 .TP
15 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mkdir-m'\fB\-m, \-\-mode=\,MODE\fP\X'tty: link'\/\fR
16 set file mode (as in chmod), not a=rwx \- umask
17 .TP
18 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mkdir-p'\fB\-p, \-\-parents\fP\X'tty: link'
19 no error if existing, make parent directories as needed,
20 with their file modes unaffected by any \fB\-m\fR option
21 .TP
22 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mkdir-v'\fB\-v, \-\-verbose\fP\X'tty: link'
23 print a message for each created directory
24 .TP
25 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mkdir-Z'\fB\-Z\fP\X'tty: link'
26 set SELinux security context of each created directory
27 to the default type
28 .TP
29 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mkdir--context'\fB\-\-context[=CTX]\fP\X'tty: link'
30 like \fB\-Z\fR, or if CTX is specified then set the
31 SELinux or SMACK security context to CTX
32 .TP
33 \X'tty: link https://www.gnu.org/software/coreutils/mkdir#mkdir--help'\fB\-\-help\fP\X'tty: link'
34 display this help and exit
35 .TP
36 \X'tty: link https://www.gnu.org/software/coreutils/mkdir#mkdir--version'\fB\-\-version\fP\X'tty: link'
37 output version information and exit
38 .SH AUTHOR
39 Written by David MacKenzie.
40 .SH "REPORTING BUGS"
41 Report bugs to: bug\[email protected]
42 .br
43 GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
44 .br
45 General help using GNU software: <https://www.gnu.org/gethelp/>
46 .br
47 Report any translation bugs to <https://translationproject.org/team/>
48 .SH "SEE ALSO"
49 \fBmkdir\fP(2)
50 .PP
51 .br
52 Full documentation <https://www.gnu.org/software/coreutils/mkdir>
53 .br
54 or available locally via: info \(aq(coreutils) mkdir invocation\(aq
55 .PP
56 .br
57 Packaged by Debian (9.10\-1)
58 .br
59 Copyright \(co 2026 Free Software Foundation, Inc.
60 .br
61 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
62 .br
63 This is free software: you are free to change and redistribute it.
64 .br
65 There is NO WARRANTY, to the extent permitted by law.