Previous Working Directory

$OLDPWD contains the previous working directory set by the cd builtin.

BashSupport Pro is a Bash IDE with support for $OLDPWD – try it now!
© 2020–2022 Joachim Ansorg
Imprint
Privacy Policy
Legal