On Mon, 27 Apr 1998, [EMAIL PROTECTED] wrote:
>
>       Anyway, could somebody explain what pushd
>       and popd functions, I didn't really

Those are very useful functions. pushd does a cd and pushes where you
were onto the directory stack (the directory stack is just like any
other stack, i.e., last in , first out, but it holds directory names).

For instance, pretend I was in a really deep directory:

[ /usr/local/src/foo/frontend/handlers/methods/ ]

And I wanted to go somewhere else, but I didn't want to have to
retraverse that mess again:

pushd ~/stuff/wowie

I could be in there for a while, and when I was done, I'd do a popd,
which would return me to the place I started from.

>Nikita.

--
------------------------------------------------------------------------
David E. Fox                 Tax              Thanks for letting me
[EMAIL PROTECTED]   the              change magnetic patterns
[EMAIL PROTECTED]      churches         on your hard disk.
-----------------------------------------------------------------------


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to