-p flag in mkdir code example
Example: mkdir -p flag
With the help of mkdir -p command you can create sub-directories of a directory. It will create parent directory first, if it doesn't exist.
With the help of mkdir -p command you can create sub-directories of a directory. It will create parent directory first, if it doesn't exist.