Yes you are right ..........but only can jump "last woking
directory".......but in case of pushd u can save a session of that directory
which can be execute with popd.......
but pushd for this still not so useful.......



On Thu, Oct 8, 2009 at 2:07 PM, narendra sisodiya <
[email protected]> wrote:

>
>
> 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
> └─────────────────────────┘
>
>
> >
>


-- 

    Adnan Shoeb

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