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 Console Foundations Getting Started with the Console Moving Around the Filesystem

What's the difference between "/home" and "/home/treehouse"? Does "/home" not have a user? (Comes up around 8 mins in)

Probably a minor thing, but would really appreciate an answer if someone could please spare a minute.

This would be a lot easier to understand if a file tree graphic were included in the video.

1 Answer

Sean T. Unwin
Sean T. Unwin
28,690 Points

/home is a directory which resides within your "username" (your identity on the computer). Every user has one. Mac and LInux is %your_username%/home and the equivalent in Windows is %your_username%\My Documents.

/home/treehouse is simply a directory within the /home directory.

This is explained briefly within the first 2:30 of the video.

Keep asking questions as you get them. :)

Thank you so much for a great answer, and even better vibes of encouragement. :)

rajbee
rajbee
6,657 Points

So, treehouse ~ $ on the console prompt tells me that I am in the treehouse directory of /home i.e ~ directory ???