mkdir Linux Commands
What is Linux mkdir Command?
mkdir COMMAND:mkdir command is used to create one or more directories.
mkdir [options] directories
||Set the access mode for the new directories.|
||Create intervening parent directories if they don't exist.
||Print help message for each directory created.
- Create directory:
The above command is used to create the directory 'test'.
- Create directory and set permissions:
mkdir -m 666 test
The above command is used to create the directory 'test' and set the read and write permission.