Re: OT: data destruction classics (was: Re: Error converting from 1.4.4.1 to 1.5.0?)
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Feb 15, 2007, 09:13 UTC
- Message-ID
- <200702150914.01361.andyparkins@gmail.com>
- In-Reply-To
- <45D3B4E7.8050408@fs.ei.tum.de>
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@gmail.com