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 trialPeter Bandsholm
2,021 Pointsthe quiz confuses me. It asks me to point out what command that does not take me home. I think it is $HOME.
please correct me if I'm wrong
3 Answers
Alexander Davison
65,469 PointsIn Bash, $HOME
is the same thing as typing out ~
.
So no, that isn't the answer.
This command doesn't take you to home:
cd /home
Because you have to type the user before it like this:
cd /alexander/home
Michael Harper
14,741 PointsMe too a little... cd ~ and cd $HOME are environmental/logical and should always work. The other two options, cd /home and cd /home/treehouse are local, and relate to how the directory structure was set up in the previous lesson. They hint that 'your name is treehouse' is correct, which leaves...
Peter Bandsholm
2,021 Pointsone option
Peter Bandsholm
2,021 PointsI don't seem to be able to make the dollar sign on my keyboard, that might be a glitch. I have a danish keyboard config.