dirs

Display or manipulate the directory stack. The directory stack is a list of recently visited directories that can be manipulated with the pushd and popd commands. See also: pushd, popd. More information: https://www.gnu.org/software/bash/manual/bash.html#Directory-Stack-Builtins.

dirs

dirs -p

dirs -v

dirs -l

dirs +{{n}}

dirs -{{n}}

dirs -c