mkdir


mkdir

Purpose

Create a directory.

Syntax

mkdir [options] directory_name

Options

-m mode assigns the specified permission setting to the new directory.

-p creates the parent directories if they do not already exist.

Description

The mkdir command creates the specified directory.