1MKDIR(1) User Commands MKDIR(1)
2
3
4
6 mkdir - make directories
7
9 mkdir [OPTION]... DIRECTORY...
10
12 Create the DIRECTORY(ies), if they do not already exist.
13
14 Mandatory arguments to long options are mandatory for short options
15 too.
16
17 -m, --mode=MODE
18 set file mode (as in chmod), not a=rwx - umask
19
20 -p, --parents
21 no error if existing, make parent directories as needed
22
23 -v, --verbose
24 print a message for each created directory
25
26 -Z set SELinux security context of each created directory to the
27 default type
28
29 --context[=CTX]
30 like -Z, or if CTX is specified then set the SELinux or SMACK
31 security context to CTX
32
33 --help display this help and exit
34
35 --version
36 output version information and exit
37
38 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
39 Report mkdir translation bugs to <http://translationproject.org/team/>
40
42 Written by David MacKenzie.
43
45 Copyright © 2013 Free Software Foundation, Inc. License GPLv3+: GNU
46 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
47 This is free software: you are free to change and redistribute it.
48 There is NO WARRANTY, to the extent permitted by law.
49
51 mkdir(2)
52
53 The full documentation for mkdir is maintained as a Texinfo manual. If
54 the info and mkdir programs are properly installed at your site, the
55 command
56
57 info coreutils 'mkdir invocation'
58
59 should give you access to the complete manual.
60
61
62
63GNU coreutils 8.22 October 2018 MKDIR(1)