xref: /original-bsd/bin/mkdir/mkdir.1 (revision db9e1aef)
Copyright (c) 1989 The Regents of the University of California.
All rights reserved.

%sccs.include.redist.man%

@(#)mkdir.1 6.4 (Berkeley) 05/31/90

MKDIR 1 ""
.AT 3
NAME
mkdir - make directories
SYNOPSIS
mkdir [ -p ] directory_name ...
DESCRIPTION
Mkdir creates the directories named as operands, in the order specified, using mode 0777 modified by the current umask (2).

The options are as follows:

-p Create intermediate directories as required. If this option is not specified, the full path prefix of each operand must already exist.

Mkdir requires write permission in the parent directory.

Mkdir exits 0 if successful, and >0 if an error occurred.

"HISTORY"
Mkdir is POSIX 1003.2 compliant.

This manual page derived from the POSIX 1003.2 manual page.

"SEE ALSO"
rmdir(1)