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 Directories and Files Shortcuts and Wildcards

james mchugh
james mchugh
6,234 Points

We want to do this in a single command, so you'll need to form a path to the dugdig directory that uses the special symb

I did what it asked using the ~ with the full path ~/workspaces/games/macpan/dugdig. like it asked and says wrong answer. I'm in the right directory to just go to the child dir by entering cd dugdig, but that also says wrong.

2 Answers

Steven Parker
Steven Parker
229,732 Points

The starting position is not in the directory that contains "dugdig". The instructions tell you "We're in the macpan subdirectory ...", which is a peer directory that shares the same parent as "dugdig".

That "special symbol" they hint about is to add a reference to the parent directory that must be in front of "dugdig".

There are a number of different special symbols mentioned in the video, but this question is referring to the dot dot symbol .. that refers to the parent directory. So after cd it should be entered as ../dugdig

james mchugh
james mchugh
6,234 Points

I get the symbols. I couldn't understand what directory I was in or where I was going w/ parent and child having the same name. I always use a clear naming for dirs ie. dugdig1, dugdig2. Thanks for your time.