Knowledge base dedicated to Linux and applied mathematics.
Home > Linux > Bash > Back to previous directory in shell cd,$OLDPWD
10 March 2013, by
"cd -" works, it will call $OLDPWD i.e. pathname of the previous working directory.
This website is useful to you? Then it's a good reason to make a donation.
Your gratitude and finance help will motivate me to continue this development.
Blog template built with Bootstrap and Spip by Nadir Soualem @mathlinux.
Back to top