What does P do in Unix?
Answer
-p is short for –parents – it
creates the entire directory tree up to the given directory. It will fail, since you do not have an a subdirectory. mkdir -p means: create the directory and, if required, all parent directories.