pushd Command Examples

Place a directory on a stack so it can be accessed later. See also popd to switch back to original directory and dirs to display directory stack contents. More information: https://www.gnu.org/software/bash/manual/html_node/Directory-Stack-Builtins.html.

pushd {{path/to/directory}}

pushd

pushd +4

pushd -n +4