Return to Previous directory in Bash
This is more for the purposes of me having a quick reference for this command when I inevitably forget about it.
Occasionally, I’ll need to go to the previous directory but would rather not type out the full path. The command below should suffice.
$ cd -