Command line stuff

Dexter Filmore Dexter.Filmore at gmx.de
Thu Jan 24 21:26:24 UTC 2008


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?

Dex



-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d--(+)@ s-:+ a- C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
------END GEEK CODE BLOCK------

http://www.vorratsdatenspeicherung.de




More information about the kubuntu-users mailing list