MKDIR(1) — UNIX Programmer’s Manual
NAME
mkdir − make a directory
SYNOPSIS
mkdir dirname ...
DESCRIPTION
Mkdir creates specified directories in mode 777. (see chmod(1)). Standard entries, ’.’, for the directory itself, and ’..’ for its parent, are made automatically. These and other directories beginning with . are not visible in listings unless you use the -a option to ls.
Mkdir requires write permission in the parent directory.
Mkdir runs as a "setuid" root program.
EXAMPLE
mkdir dirjohn
creates a directory of that name as a subdirectory of the directory you are in at the time you employ the command.
SEE ALSO
DIAGNOSTICS
Mkdir returns exit code 0 if all directories were successfully made. Otherwise it prints a diagnostic and returns nonzero.
7th Edition — 1/25/82