Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
miratrix
· 15y ago · 0 comments
You can also use the "dirs" command (I think part of bash as well) that tells you the state of the stack. If you set the -v option, you can get the depth of different directories, and you can just do pushd +N to jump to the specific directory.
Comments
[–]
dhimes
15y ago
funny- I don't see man pages (nor info pages) for pushd, popd, or dirs. What am I missing about the documentation?
[–]
umbramei
15y ago
They're shell built-ins, so use "man bash" to read about them.
[–]
larsu
15y ago
To only display information about a specific command, you can also use
help <command>
[–]
dhimes
15y ago
Awesome. Thanks.