Moving with cd
Lesson 2 of 20 · Term.Micro
Absolute and relative paths, `..`, `~` and `cd -`.
cd photos moves you into photos. Watch the prompt: it now ends in ~/photos. Commands now run there, so ls lists the photos.
Check yourself
You are in ~/photos/trip. Where does cd .. take you?
Do it in the browser: a real the Linux terminal tool, a short mission and instant feedback. No install.
Start this lesson — free