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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Pui Lun Christin C Hebron](https://secure.gravatar.com/avatar/6bc35f3bdf871aa55b4b5dac84e0c8f4?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Pui Lun Christin C Hebron
5,693 PointsFill in the blank to complete a command that will change directly to the images subdirectory within the user's home dire
Fill in the blank to complete a command that will change directly to the images subdirectory within the user's home directory. Use the ~ symbol to stand for the home directory.
treehouse:~/workspace/games/macpan$ ls ~
documents images games
treehouse:~/workspace/games/macpan$ cd
Not exactly understanding this?
6 Answers
![rydavim](https://uploads.teamtreehouse.com/production/profile-photos/1857952/micro_scarabTattoo.jpg)
rydavim
18,814 PointsSo, they've put you in a directory that is not the home directory. The goal is to navigate back to the home (~) directory, and then to the images folder. You can do this in one step by chaining ~/directory1/directory2/etc
. In this case, you can assume that images is a direct sub-folder of home.
Hopefully that helps, but let me know if you still have questions. Happy programming!
![Demarcus Brooks](https://secure.gravatar.com/avatar/780d9fbe13802f2eee71a2fcce6d79c6?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Demarcus Brooks
4,060 Points~/images
![Islam Uddin](https://secure.gravatar.com/avatar/7530403ba04adfde4d6d0228a66ff413?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Islam Uddin
Front End Web Development Techdegree Student 5,820 Pointsthe answer is ~
![Zipporah Najar](https://secure.gravatar.com/avatar/28a7ff3a80b16324108cec39bb0fa366?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Zipporah Najar
6,319 PointsMy thinking was you're trying to access the images directory from home directory so it would be ~/images
![Billy Cheng](https://secure.gravatar.com/avatar/f601cad3336d5d01923a4620c21f6ace?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Billy Cheng
2,120 PointsCan somebody please let me know why the answer: ~/images is not ~/images/ ????
![jb30](https://secure.gravatar.com/avatar/681668d7cc4c5486851384a0feddda37?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
jb30
44,806 PointsEither will work. The trailing /
is optional.
![Nicholas Prober](https://secure.gravatar.com/avatar/0de12b5809fd0877304db5d4f871854d?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Nicholas Prober
4,925 PointsBecause the / at the end is not needed.
![Diego Hidalgo](https://secure.gravatar.com/avatar/53191670a661b61c213cbe2ee2b5dc93?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Diego Hidalgo
Front End Web Development Techdegree Student 9,539 PointsWhy not put in the path "workspace" if it contains games and therefore images. like this cd ~/workspace/images