News and Happenings

Man accidentally 'deletes his entire company' with one line of bad code

Submitted by Aoki, , Thread ID: 20527

Thread Closed

RE: Man accidentally 'deletes his entire company' with one line of bad code

#20
A command is only as dangerous as the idiot running it. rm should also ask for an additional flag when told to delete recursively in / (--no-preserve-root)
It's still recommended to edit the function of rm so it dumps files into a trash bin instead, but again only idiots need to do this.

I also read somewhere that this is fake.

Users browsing this thread: 7 Guest(s)