If a single dash is specified as the argument, it will be replaced by the value of OLDPWD
.
The OLDPWD
is set by cd
command and it is the previous working directory.
If a single dash is specified as the argument, it will be replaced by the value of OLDPWD
.
The OLDPWD
is set by cd
command and it is the previous working directory.