mkdir [Command]

mkdir [Command]



Command mkdir

Creates a directory.

Syntax

mkdir [options] directory_names

Options

-m access appoints new directory specified access rights.
-p creates parent directories if they do not exist.

Description

The mkdir command creates the specified directory.

Examples

mkdir /home/mango/newdirname

also creates a directory at your desired path without changing your present working directory

Leave a Reply

Your email address will not be published. Required fields are marked *