maux
Star on GitHub Buy me a coffee

Manual / mkdir

mkdir(1)

MKDIR(1) General Commands Manual MKDIR(1)

mkdir - make directories

mkdir [-p] directory ...

Mkdir creates each named directory. Without -p, an existing name is an error.

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

/usr/man/MKDIR this page

rmdir(1), ls(1), licenses(1)

Exit status is 0 if all operands succeed, 1 if any cannot be created, 2 for usage errors.

September 19, 2026 maux