Manual / mkdir
mkdir(1)
| MKDIR(1) | General Commands Manual | MKDIR(1) |
NAME
mkdir - make directories
SYNOPSIS
mkdir [-p] directory ...
DESCRIPTION
Mkdir creates each named directory. Without -p, an existing name is an error.
- -p
- Make missing intermediate directories as well, and accept an existing directory as success.
A failed operand is reported; the remaining operands are attempted. Directories use ProDOS names and attributes, not Unix ownership or modes. For example:
mkdir -p work/src
FILES
/usr/man/MKDIR this page
SEE ALSO
DIAGNOSTICS
Exit status is 0 if all operands succeed, 1 if any cannot be created, 2 for usage errors.
| September 19, 2026 | maux |