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 trial

Development Tools Introduction to the Terminal Common Commands Working with Files

Fill in the blanks to complete a command that will create a new features directory with a new ideas

Fill in the blanks to complete a command that will create a new features directory with a new ideas subdirectory inside it.

Remember that the mkdir command has an option that will create parent directories as needed... treehouse:~/workspace$ mkdir

3 Answers

-p features/ideas is the correct Answer

Steven Parker
Steven Parker
231,172 Points

You have the correct command, but you still need the option that the instructions hinted about, plus the path to the inner directory that you want created.

Jamie Reardon
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

If you are still unsure about it, commands such as the mkdir (used to make directories) have options. These options are defined by a dash - followed by a letter e.g. -a or a double dash -- followed by a word e.g. --all. Not all command line options have a full word abbreviation. The command mkdir has an additional command line option that you can use to make sub-directories within the chosen created directory followed by this option. Rewatch the video to see how.

Answer: treehouse:~/workspace$ mkdir -p features/ideas