5 ms·
alias it to ask "really? (y/n)" perhaps.
by chromejs10 15y ago
alias it to ask "really? (y/n)" perhaps.
- michaelcampbell 15y agoThis is a dangerous but common crutch. The reason it's dangerous is people get used to it, and then when they go to a system where it's not there, pain and anguish (or hilarity, depending on your point of view) ensue.
- guan 15y agoMaybe people wouldn't get so used to it if it's only activated for rm -rf / (and perhaps /* and variants).
- dap 15y agoBetter yet, just use an OS that doesn't come with a self-destruct button: http://en.wikipedia.org/wiki/Rm_(Unix)#Protection_of_.2F http://en.wikipedia.org/wiki/Rm_(Unix)#Protection_of_.2F
- chromejs10 15y agoI'm more of a fan of the other comment, which was basically "don't use -f then". Personally, when using that command at root, you should be pretty aware of what you're doing.