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, --context=CTX
27 set the SELinux security context of each created directory to
28 CTX
29
30 When COREUTILS_CHILD_DEFAULT_ACLS environment variable is set,
31 -p/--parents option respects default umask and ACLs, as it does
32 in Red Hat Enterprise Linux 7 by default
33
34 --help display this help and exit
35
36 --version
37 output version information and exit
38
40 Written by David MacKenzie.
41
43 Report mkdir bugs to bug-coreutils@gnu.org
44 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
45 General help using GNU software: <http://www.gnu.org/gethelp/>
46 Report mkdir translation bugs to <http://translationproject.org/team/>
47
49 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU
50 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
51 This is free software: you are free to change and redistribute it.
52 There is NO WARRANTY, to the extent permitted by law.
53
55 mkdir(2)
56
57 The full documentation for mkdir is maintained as a Texinfo manual. If
58 the info and mkdir programs are properly installed at your site, the
59 command
60
61 info coreutils 'mkdir invocation'
62
63 should give you access to the complete manual.
64
65
66
67GNU coreutils 8.4 June 2018 MKDIR(1)