[H-GEN] Useful not so obvious tips
Greg Black
gjb at gbch.net
Mon Oct 25 01:55:09 EDT 2004
On 2004-10-25, Anthony Irwin wrote:
> Robert Brockway wrote:
>
> > My favourite tip (again, shell specific) is to use "cd -" to take me
> > to my
> > OLDPWD (old present working directory), ie where I was before the PWD
> > (present working directory).
>
> I didn't know about that one. I've used it a couple times now already
> it's a command I will be commiting to memory it's going to save me a ton
> of typing.
Have you learnt about pushd and popd? I find pushd the thing I
use most. (They're shell builtins like cd, so they're shell
specific, but I don't think any modern shell lacks them, except
real Bourne shells of course.)
Cheers, Greg
More information about the General
mailing list