NAME

mkdir - create directories

SYNOPSIS

mkdir [-p] [-m mode] directory ...

DESCRIPTION

mkdir creates directories, giving it permission 0777, as modified by the current umask. Directories created in the order they are given.

OPTIONS

mkdir accepts the options described below.

-p

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.

ENVIRONMENT

The working of mkdir is not influenced by any environment variables.

BUGS

mkdir does not have any known bugs.

STANDARDS

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.

AUTHOR

The Perl implementation of mkdir was written by Abigail, perlpowertools@abigail.be.

COPYRIGHT and LICENSE

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.