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

______Sudarsan

--~--~---------~--~----~------------~-------~--~----~
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