News for hackers. Stuff that matters.
Re:Don't waste your time by cd-ing in the terminal by miratrix on Friday February 18, 2011 @06:57PM (#2237806)
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.
Re:Don't waste your time by cd-ing in the terminal by dhimes on Saturday February 19, 2011 @10:01AM (#2239107)
funny- I don't see man pages (nor info pages) for pushd, popd, or dirs. What am I missing about the documentation?
Re:Don't waste your time by cd-ing in the terminal by umbramei on Saturday February 19, 2011 @12:08PM (#2239350)
They're shell built-ins, so use "man bash" to read about them.
Re:Don't waste your time by cd-ing in the terminal by larsu on Saturday February 19, 2011 @12:25PM (#2239388)
To only display information about a specific command, you can also use

    help <command>
Re:Don't waste your time by cd-ing in the terminal by dhimes on Saturday February 19, 2011 @06:45PM (#2240319)
Awesome. Thanks.