Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


6 Awesome Linux cd Command Hacks

Oct 14, 2008, 15:35 (0 Talkback[s])

[ Thanks to An Anonymous Reader for this link. ]

"Hack #5: Use dirs, pushd and popd to manipulate directory stack

You can use directory stack to push directories into it and later pop directory from the stack. Following three commands are used in this example.
dirs: Display the directory stack
pushd: Push directory into the stack
popd: Pop directory from the stack and cd to it"

Complete Story

Related Stories: