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 trialjames mchugh
6,234 PointsWe 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
231,172 PointsThe 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".
Rosemary Morrow
2,431 PointsThere 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
6,234 PointsI 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.