Go to the first, previous, next, last section, table of contents.


mkdir: Make directories

mkdir creates directories with the specified names. Synopsis:

mkdir [option]... name...

It is not an error if a name is already a directory; mkdir simply proceeds. But if a name is an existing file and is anything but a directory, mkdir complains.

The program accepts the following options. Also see section Common options.

`-m mode'
`--mode=mode'
Set the mode of created directories to mode, which is symbolic as in chmod and uses 0777 (read, write and execute allowed for everyone) minus the bits set in the umask for the point of the departure. See section File permissions.
`-p'
`--parents'
Make any missing parent directories for each argument. The mode for parent directories is set to the umask modified by `u+wx'. Ignore arguments corresponding to existing directories.
`--verbose'
Print a message for each created directory. This is most useful with `--parents'.


Go to the first, previous, next, last section, table of contents.