News for hackers. Stuff that matters.
Re:How do I prevent accidental rm -rf /*? by GoodIntentions on Saturday December 03, 2011 @10:32PM (#3309773)
Some of the answers above seem to involve 'babysitting' measures that almost certainly won't be on the next box you use.

appropriate countermeasures imho:

1. run an account with the right amount of access.

2. don't use sudo. (su + password makes you think a bit more)

3. this sounds dickish, but I mean it constructively. Pay attention. the -f flag means something...

4. when all else fails, rsync'd folders are a beautiful thing :)

There are no comments on this comment yet.