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 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
231,248 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:

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

documents/resume.txt

Steven Parker
Steven Parker
231,248 Points

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