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
39 Written by David MacKenzie.
40
42 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
43 Report any translation bugs to <https://translationproject.org/team/>
44
46 Copyright © 2019 Free Software Foundation, Inc. License GPLv3+: GNU
47 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
48 This is free software: you are free to change and redistribute it.
49 There is NO WARRANTY, to the extent permitted by law.
50
52 mkdir(2)
53
54 Full documentation <https://www.gnu.org/software/coreutils/mkdir>
55 or available locally via: info '(coreutils) mkdir invocation'
56
57
58
59GNU coreutils 8.31 March 2019 MKDIR(1)