On Sat, May 21, 2011 at 16:22, Tha.Suresh <[email protected]> wrote:
>> Can you post on pushd and popd which i feel is better than cd.
>>
> pushd/popd are cool but a bit obscure ... "cd -" is straightforward !
>

`cd -' is what I use while typing in the shell, mostly because it is
easier for me to remember where I came from, instead of a stack of
directories.   There is also a `dirs' command that shows the current
directory stack, which is automatically called when you do a `pushd'
or `popd'.

`pushd/popd' are fantastic when you are writing shell scripts, which
is rare enough for me that I might be doing it wrong.

-- 
http://about.me/rosh
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to