Unix: Using pushd and popd for faster navigation

Unix: Using pushd and popd for faster navigation

The pushd and popd commands put directory paths onto a directory stack (pushd) and then pop them off again (popd). Using the pushd and popd commands is not unlike dropping directory "bread crumbs" and then returning in reverse order to all the places you visited.