mkdir - make a directory
Contents
Description
Mkdir creates the specified directories. It requires write permission in the parent directory.
If the -p flag is given, mkdir creates any necessary parent directories and does not complain if the
target directory already exists.
The -m flag sets the permissions to be used when creating the directory. The default is 0777.
Diagnostics
Mkdir returns null exit status if all directories were successfully made. Otherwise it prints a
diagnostic and returns "error" status.
MKDIR(1plan9)
Name
mkdir - make a directory
See Also
rm(1) cd in rc(1)
Source
/src/cmd/mkdir.c
Synopsis
mkdir [ -p ] [ -mmode ] dirname...
