mkdir - create directories
mkdir [-p] [-m mode] directory [directories ...]
mkdir creates directories, giving it permission 0777, as modified by the current umask. Directories created in the order they are given.
mkdir accepts the options described below.
Create any required intermediate directories. Such directories will be created with permission 0777, as modified by the current umask. In addition, the write and execute bits for the owner of the directory will be set. If the -p option is given, existing directories will not trigger an error.
- -m mode
Create the directory with permissions as indicated by mode. mode can be of any form accepted by chmod(1). Symbolic modes are relative to an initial mode of a=rwx.
The working of mkdir is not influenced by any environment variables.
mkdir does not have any known bugs.
This implementation of mkdir is compatible with the OpenBSD implementation, and is expected to be compatible with the IEEE Std1003.2 aka POSIX.2 implementation.
The Perl implementation of mkdir was written by Abigail, firstname.lastname@example.org.
This program is copyright by Abigail 1999.
This program is free and open software. You may use, copy, modify, distribute, and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.