Command line stuff

Steve Lamb grey at dmiyu.org
Thu Jan 24 21:38:16 UTC 2008


Dexter Filmore wrote:
> On Wednesday 23 January 2008 17:37:45 Donn wrote:
>> > I usually move to the target directory and use something like:
>>
>> Yeah, that's a good trick.
>>
>> I wish there was (perhaps there is) a char like '.' that meant 'the dir
>> before we changed to this dir'. If it was '-' then:
>> mv -/filename .
>> would rock.
>>
>
> How about $OLDPWD?

    Or use zsh and justs pushd, and ~+.

-- 
Steve Lamb





More information about the kubuntu-users mailing list