MKDIR(1L)MKDIR(1L)NAMEmkdir - make directories
SYNOPSISmkdir [-p] [-m mode] [--parents] [--mode=mode] [--help] [--version]
dir...
DESCRIPTION
This manual page documents the GNU version of mkdir. mkdir creates a
directory with each given name. By default, the mode of created direc‐
tories is 0777 minus the bits set in the umask.
OPTIONS
-m, --mode mode
Set the mode of created directories to mode, which is symbolic
as in chmod and uses the default mode as the point of departure.
-p, --parents
Ensure that each given directory exists. Create any missing
parent directories for each argument. Parent directories
default to the umask modified by `u+wx'. Do not consider an
argument directory that already exists to be an error.
--help Print a usage message on standard output and exit successfully.
--version
Print version information on standard output then exit success‐
fully.
FSF GNU File Utilities MKDIR(1L)