say

dirs (built-in Bash command)

The manual page and help for the dirs built-in Bash command. Use the dirs command to display the directory stack. Displays a list of currently memorized directories without options. The default output of the command returns memorized directory names separated by spaces in a single line. Directories that you want to remember can be put on the stack with the pushd command and removed with the popd command. The current directory is always the first directory on the stack.