On Thu, Oct 8, 2009 at 11:20 AM, Sudarsan Sridhar <[email protected]>wrote:

> For those who use terminal a lot: Sometimes there is a requirement to save
> the previous working directory and change to another directory, do something
> and come back. The commands 'pushd' and 'popd' help.
>
> e.g,
>
> #pwd
> /original/directory
> # pushd /path/to/the/new/directory
>
> ---do something---
>
> #popd
> #pwd
> /original/directory
>
> If I am not wrong, we can jump to prev directory using "cd -"
$cd -
-- 
┌─────────────────────────┐
│    Narendra Sisodiya ( नरेन्द्र सिसोदिया )
│    Web : http://narendra.techfandu.org
│    Twitter : http://tinyurl.com/dz7e4a
└─────────────────────────┘

--~--~---------~--~----~------------~-------~--~----~
Do you have another question? Click here - 
http://groups.google.com/group/iitdlug/post
Read archive - http://www.mail-archive.com/[email protected]/
l...@iitd community mailing list -- http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---

Reply via email to