Displays or manipulates the directory stack. The directory stack is a list of recently visited directories that can be manipulated with the
popdcommands. More information: https://www.gnu.org/software/bash/manual/bash.html#Directory-Stack-Builtins.
- Display the directory stack with a space between each entry:
- Display the directory stack with one entry per line:
- Display only the nth entry in the directory stack, starting at 0:
- Clear the directory stack:
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.