Issue
I tried following these instructions to go back to the previous directory, but that results in "-bash cd: OLDPWD not set".
How could I do what I want?
Thank you.
Solution
What actually helped in my case was using
cd /
instead of
cd -
Answered By - tmighty Answer Checked By - Clifford M. (WPSolving Volunteer)