Return To Previous Directory In Linux Terminal

On *nix systems, you can type cd - to return to the previous directory.

$ cd -

Source