The four characters that save your life
Almost every shell has the same four shortcuts:
~— your home directory ($HOME). The shell expands it before running the command..— the current directory. Often used as./script.shto disambiguate from a command on PATH...— the parent directory. Stack them:cd ../../grandparent.-— only valid withcd; jumps to the previous directory.
Tilde with usernames
~ alone = your home. ~alice = Alice's home (if you have read access). Useful on shared servers. Pippa rarely uses it on a single-user Mac, but it shows up in older Linux scripts often.
Tilde and brace expansion
Tilde is a shell expansion, not a directory entry, so it works in places you don't expect. cp ~/.zshrc ~/.zshrc.bak works, but inside single quotes '~/file' stays literal — quotes disable expansion. Just one of the small grammatical traps.
The dotfiles convention
Hidden files start with . by Unix convention. .zshrc, .bashrc, .git, .env — all the configuration sits in your home as dotfiles. ls ignores them by default; ls -A shows them.