4 ms·
Every System admin could have a bad day like this :) Some years ago I have deleted entire production server just by very simple command "rm -rf /" instead "rm -
by xnohat 11y ago
Every System admin could have a bad day like this :)
Some years ago I have deleted entire production server just by very simple command "rm -rf /" instead "rm -rf ./" and I had logged in with root account. No words to explain the feeling at that time.
Thanks to backups, without it, I have been killed thousand time by my customers.
- mootothemax 11y ago>deleted entire production server just by very simple command "rm -rf /" instead "rm -rf ./" It's absolutely a rite of passage, fun times! My personal favourite is similar: rm -fr .* ouch
- Symbiote 11y agoThe GNU tools accept arguments at the end, so I'm in the habit of writing: rm ./ -rf instead. There's a bit more chance to notice the mistake. Of course, rm is already aliased to rm -i.
- poooogles 11y agoThat shouldn't even work nowadays, you should have to run "rm -rf --no-preserve-root /"