[NTLUG:Discuss] Any idea of pop utilities

Victor Brilon victor at vail.net
Fri Jun 20 18:54:31 CDT 2003


In bash you can also aways do 'cd -' to go back to the previous dir you 
were in.

Victor

Chris Cox wrote:
> Pervaz Allaudin wrote:
> 
>> I do not remember exactly when and where but I saw this demo where a 
>> guy was switching between subdirs using a command like push and pop. 
>> Where push dir worked like cd and pop brought him back to original. (I 
>> do not recall if he just popped again to return to the last one.)
>>
>> Every time I have to switch back and forth between dirs I remember 
>> this. I looked for it but could not find it.
>>
>> As you can tell I am novice enough not to be able to make one in bash 
>> shell on the fly. I probably could with a bit of an effort and a day 
>> or two but Anybody know where I can get this or anything similar.
>>
>> Pervaz
> 
> 
> man bash
> 
> pushd <dir>
> popd
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 
> 




More information about the Discuss mailing list