[NTLUG:Discuss] Any idea of pop utilities

Chris Cox cjcox at acm.org
Fri Jun 20 12:02:49 CDT 2003


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




More information about the Discuss mailing list