-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eamon Caddigan wrote:
| Daevid Vincent <[EMAIL PROTECTED]> wrote:
|
|>>cd /tmp
|>>rm -rf * (be VERRY BLOODY CAREFUL which dir you are in when you type
|>
|>this!!!!!)
|>
|>Wouldn't it be wiser to type "rm -rf /tmp/*" ;-)
|
|
| I'd go with "rm -rf /tmp && mkdir /tmp", since the above commands won't
| pick up any dotfiles in the directory.

And then don't forget chmod 1777 /tmp. This's caught me out quite a few
times (not because I rm -rf'ed /tmp, something completely else - but it
does catch you out...


- -- Peet Grobler

Public PGP key available from wwwkeys.pgp.net

http://peet.hivemind.net/PGPKeys.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFCcGOkz77+L65p5ZIRAtPUAKCDRvxwGDnIn/aZ/eMc6ankXoynQwCg51sp
tTeKPYfQdrPJcMRlQyNHNv0=
=Ks7w
-----END PGP SIGNATURE-----
--
[email protected] mailing list



Reply via email to