Linux mkdir Command

The mkdir command in Linux is used to create directories. Below is a list of commonly used options with their descriptions:

Option Description
-p Create parent directories as needed. If the parent directory does not exist, it will be created.
-v Display a message for each created directory.
--mode=MODE Set the file permissions for the new directory.
--help Display help information about the mkdir command.
--version Display the version of the mkdir command.

Examples