Re:Man accidentally 'deletes his entire company' with one li...
by cha5m on Thursday April 14, 2016 @03:27PM
(#11499642)
I was expecting something much more subtle.
I guess the best course of action to prevent this would be to alias rm to a custom script, then parse the arguments to make sure the root directory is never recursively deleted, then calling rm from within your script.
I guess the best course of action to prevent this would be to alias rm to a custom script, then parse the arguments to make sure the root directory is never recursively deleted, then calling rm from within your script.