Quick Answer: What Is Mkdir P Linux?
Contents

Both the distros are forked of the Debian system and have lots of things in common. However, they have approached a different path to fulfill the user’s needs. Linux Mint is an excellent alternative to Windows OS, and Ubuntu is more about competing with the Mac system.

What does mkdir P do?

Linux Directories mkdir -p

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. But if it already exists, then it will not print an error message and will move further to create sub-directories.

What is P flag in mkdir?

-p : A flag which enables the command to create parent directories as necessary. If the directories exist, no error is specified. Syntax: mkdir -p [directories]

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest