Change to the last directory
suggest changeFor the current shell, this takes you to the previous directory that you were in, no matter where it was.
cd -
Doing it multiple times effectively “toggles” you being in the current directory or the previous one.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents