Navigation
The dirs command
Shows the directory stack you have been saving with pushd.
Syntax
dirsCopy-ready examples
$ dirsShow the stackYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- The current folder is the first in the list.
FAQ
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course