mkdir
Make directories
Overview
The mkdir command is used to create one or more new directories. If the specified directory does not exist, mkdir creates it.
Syntax
mkdir [OPTION]... DIRECTORY...Common Options
-m, --mode=MODESet file mode (as in chmod), not a=rwx - umask.
-p, --parentsNo error if existing, make parent directories as needed.
-v, --verbosePrint a message for each created directory.
-ZSet SELinux security context of each created directory to default type.
--context[=CTX]Like -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX.
Examples
Create a directory named new_directory in the current location.
Create the full directory path project/src/components, including any non-existent parent directories (project and src).
Create three directories: dir1, dir2, and dir3.
Create a directory named private_stuff and set its permissions to rwx------ (only owner has read, write, execute).
Create directories logs, reports, and config, and print a message for each one created.