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 trialJessica Hines
1,670 PointsWhat is the difference between using ~ and . to get back to current directories?
Does using ~ and . take you back to current directories? Which one is recommended to use?
1 Answer
miikis
44,957 PointsHey Jessica,
The tilde (~) symbol takes you to your home directory. The period (.) takes you to your current directory. Here's a cheatsheet, https://github.com/0nn0/terminal-mac-cheatsheet/wiki/Terminal-Cheatsheet-for-Mac-(-basics-), that you can reference in the future :)
Jessica Hines
1,670 PointsJessica Hines
1,670 Pointsthanks so much! consoles is a whole different animal than HTML and CSS, so I'm trying not to get lost!