https://learnpythonthehardway.org/python3/appendix-a-cli/ex4.html
Exercise 4 has this statement
$ mkdir -p temp/stuff/things/orange/apple/pear/grape
here the use of -p is not explained.
Please help me with the explanation of this.
https://learnpythonthehardway.org/python3/appendix-a-cli/ex4.html
Exercise 4 has this statement
$ mkdir -p temp/stuff/things/orange/apple/pear/grape
here the use of -p is not explained.
Please help me with the explanation of this.
It means “path”, but any time you have a question like that, type:
man COMMAND
So in this case you can type:
man mkdir
And then it’ll let you read what the official docs say the -p does. However, if you’re on windows then the man command is not available.