Jump Back
- You moved into a project folder a moment ago.
- Type cd - and press Return.
- Run it again to bounce back.
- Two folders, one toggle. The shell prints where you landed.
Ready
Try this
Navigate to your Documents folder with cd ~/Documents, then to Desktop with cd ~/Desktop. Now run cd - and you'll jump back to Documents instantly.
Why it works
Instant context switching.