Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools Introduction to the Terminal Directories and Files Paths

I need help! Fill in the blank to complete the command to print the contents of the resume.txt file within the documents

Notice that you are not currently in the documents directory; you will need to include that as part of the path! treehouse:~/workspace$ ls documents games images treehouse:~/workspace$ ls documents profile.txt resume.txt treehouse:~/workspace$ cat

4 Answers

The answer will be the directory first and the file after "documents/resume.txt".

Steven Parker
Steven Parker
216,020 Points

Hint: When constructing a path to a file in a sub-directory, you put the directory name first, then a slash ("/"), and finally the file name.

I'll bet you can get it now without an explicit spoiler. :wink:

documents/resume.txt

Steven Parker
Steven Parker
216,020 Points

...or perhaps with an explicit spoiler.   :see_no_evil:

I think it's document/games. or try cd games