Re: OT: data destruction classics (was: Re: Error converting from 1.4.4.1 to 1.5.0?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 2007 February 15 01:18, Simon 'corecode' Schubert wrote:

> > I'm still muttering to myself that I could be that dumb...

How about this:

1) "I should like to clean up root's home directory"
2) cd /root; ls -la .
3) "Oh, there are a lot of config file in this directory that I don't need any
   more"
4) rm -rf .*

Now start crying softly to yourself, when you realise that ".." is covered 
by ".*".  Now go to every computer you work on and put

  export GLOBIGNORE=".:.."

In your .bashrc.

Boy, was my face red...



Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]