Remove a directory placed on the directory stack via the…
Remove a directory placed on the directory stack via the pushd shell built-in. See also
pushd
to place a directory on the stack anddirs
to display directory stack contents.
popd
dirs
):popd +N
dirs
):popd -N