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

%sccs.include.redist.man%

@(#)mkdir.1 6.5 (Berkeley) 06/24/90

MKDIR 1 "%Q""
.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.

The parent directory must be writable by the user.

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)