what does the -p mean/do?
what does the -p mean/do?
man mkdir has the answer: -p, --parents
no error if existing, make parent directories as needed
means create the parent directories if they don't exist
So if you want to make a directory called wow in a directory blah in a directory blag........
you goinstead ofCode:mkdir -p blag/blah/wow
Code:mkdir blag mkdir blag/blah mkdir blag/blah/wow
Bookmarks