You can use
cd - or you could use
cd "$OLDPWD" cd $OLDPWD causes the error: bash: cd: too many arguments in paths with spaces.
You can use
cd - or you could use
cd "$OLDPWD" cd $OLDPWD causes the error: bash: cd: too many arguments in paths with spaces.