mkdir
command in Linux allows the user to create directories (also referred to as folders in some operating systems )mkdir [options...] [directories ...]
-v
or--verbose
: It displays a message for every directory created. Syntax: mkdir -v [directories]
-p
: A flag which enables the command to create parent directories as necessary. If the directories exist, no error is specified.
Syntax:mkdir -p [directories] Suppose you execute the following command –
mkdir -p first/second/third
-p
: A flag which enables the command to create parent directories as necessary. If the directories exist, no error is specified.
Syntax:mkdir -p [directories] Suppose you execute the following command –
mkdir -p first/second/third
0 comments:
Post a Comment