⌨️Home Directory (~)
Also known as Home Folder, User Home Directory, Tilde (~)
Your own folder on a Linux machine. The sign ~ is short for it.
Think of it like
Think of it like your own bedroom in a big house. Your things go here, and others stay out.
Example
Emma logs in to a server. She starts in /home/emma, where her notes and her .ssh folder are kept.
Why it matters
Your keys, settings and files live here. Most of your work on a server starts in this folder.
Definition
Example code
console
$ echo $HOME
/home/emma
$ cd ~Common mistake
Key takeaways
- 1One per user. Usually /home and the user's name.
- 2~ is short for it. cd ~ takes you home.
- 3You start here. Every login lands in it.