Linux Filesystem Cheat Sheet/Show directory stack

Display directories stored by pushd/popd.

Section: Navigation

Show directory stack

bash
bash
dirs -v

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Navigation
Print working directory
Show the absolute path of the current directory.
OpenIn sheetbashsame section
Go to home directory
Change to the current user's home directory.
OpenIn sheetbashsame section
Go to parent directory
Move up one directory level.
OpenIn sheetbashsame section
Go to previous directory
Switch back to the last directory you were in.
OpenIn sheetbashsame section
Long listing with human sizes
Show detailed directory contents with human-readable sizes.
Create nested directories
Create a directory path including missing parents.