Files
oldlinux-files/Minix/1.7.5/MANUALS/CAT0/MKDIR
2024-02-19 00:21:39 -05:00

66 lines
949 B
Plaintext

Command: mkdir - make a directory
Syntax: mkdir [-p] [-m mode] directory ...
Flags: -m Create directory with mode
-p Create missing intermediate directories
Examples: mkdir dir # Create dir in the current
directory
mkdir -p /user/ast/dir # Create the /user/ast and
/user/ast/dir
The specified directory or directories are created and initialized.
If any intermediate directory is missing and -p is specified, the
missing component will be created and no error displayed if directory
already exists. If the -m flag is used, this will be equivalent to a
chmod on the directory after its creation.