mkdir Command help to create new directories. If the directory present already in the case doesn’t create new directories and gives a warning message inside the terminal.
mkdir -m=Mode linuxBook
-m Option help to assign new permission on creating time (Like in chmod)
- rwx: read-write execute permission on this file
- wx: only write execute permission on this file
- rx: only Read execute permission on this file
- rw: only Read execute permission on this file
mkdir -p or mkdir --parents
-p option does not show an error if the directory exists. also, the directory that exists then overwrites your directory. your directory does not exist then create a new directory.
mkdir -v or mkdir --verbose
check working behind mkdir command and print a message in the terminal after each created directory
display this help and exit
output mkdir command version information.
print mkdir manual page Information Inside Your Cmd Tool.