Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAriel Espinal
5,451 PointsAnother way to memorize the -p flag to create folder?
What is -p shorthand for?
LaVaughn Haynes
12,397 PointsGunhoo is correct. From the command like you can also type man followed by a command. It will print out instructions for how the command works and what the flags are
man mkdir
it will output:
-p, --parents
no error if existing, make parent directories as needed
1 Answer
Gunhoo Yoon
5,027 PointsIt is shorthand for parents. Make parent directory if needed.
LaVaughn Haynes
12,397 PointsI changed your comment to an answer so you can get credit
Ariel Espinal
5,451 PointsAriel Espinal
5,451 Pointsawesome thank you!