How to get back to the previous working directory in Linux?

You can use Linux command cd with – (hyphen) option to get back to the previous working directory.

Leave a Reply