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

Pulseeey
The Mandingo Man
Staff
Level:
0
Reputation:
208
Posts:
1.02K
Likes:
159
Credits:
1.69K
09-05-2016, 07:44 PM
#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: 1 Guest(s)