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 trial3 Answers
Michael Kobela
Full Stack JavaScript Techdegree Graduate 19,570 PointsWhen you use the mkdir command, you can make a subfolder only one level deep. But with the -p option it lets you make a folder several levels deep. For instance, if you wanted to make the folders sub1/sub2, with the -p you could do:
mkdir -p sub1/sub2
otherwise without the -p you would have to do, mkdir sub1, then cd sub1, then mkdir sub2
Lisa Walters
Front End Web Development Techdegree Graduate 15,255 PointsHello! You find out in a later video that -p literally stands for "parent", which allows you to make a directory comprised of many subfolders.
Evan Welch
1,815 PointsThank you!