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 Directories

Quiz question from Introduction to the Terminal

I am stumped on this fill in the blank(s) question...am I missing something very simple?

We're in the macpan subdirectory within the games directory. Fill in the blanks to complete a command to change up to the games parent directory.

treehouse:~/workspace/games/macpan$ pwd /home/treehouse/workspace/games/macpan treehouse:~/workspace/games/macpan$ ___ ___

4 Answers

Steven Parker
Steven Parker
231,248 Points

The command to change directory is "cd". And the special symbol that stands for any directory's parent directory is two periods together ("..").

Brenda Cardona
Brenda Cardona
8,385 Points

for that particular question is ''cd' and then ''games".

Steven Parker
Steven Parker
231,248 Points

You're thinking of one of the other questions, that's not the answer for this one.

Brenda Cardona
Brenda Cardona
8,385 Points

You are correct... this is the right answer

We're in the macpan subdirectory within the games directory. Fill in the blanks to complete a command to change up to the games parent directory.

treehouse:~/workspace/games/macpan$ pwd
/home/treehouse/workspace/games/macpan
treehouse:~/workspace/games/macpan$  cd  ..

cd and .. (two dots)

This is the correct answer.

cd and games are the two correct answers.

aye thank you!