$OLDPWD
: Previous Working Directory
$OLDPWD
contains the previous working directory set by the cd
builtin.
Links
BashSupport Pro is a Bash IDE with support for $OLDPWD – try it now!
$OLDPWD
: Previous Working Directory$OLDPWD
contains the previous working directory set by the cd
builtin.