Using Pushd And Popd To Move Between And Remove Di
dirs -v
- Shows the list of directories and number.
pushd +<number> - Allows you to switch into that directory of choice.
- To change into the directory at the bottom of the stack, you can use
pushd -0 popd +1will remove directory1from the stack.- Similarly we can remove the bottom directory with
popd -0