3 ms·
On any modern system it's actually "sudo rm -rf / --no-preserve-root" and then entering your password while staring at the command. "rm -rf ~/blue /" will not
by jonreem 12y ago
On any modern system it's actually "sudo rm -rf / --no-preserve-root" and then entering your password while staring at the command.
"rm -rf ~/blue /" will not come close to deleting / unless you are in the habit of running every command as sudo, even ignoring the presence of --no-preserve-root
- daurnimator 12y agoExcept when: (these are terrible lessons to learn) 1. You type it into the wrong system (D'oh) 2. You have run `mount --bind / /somewhere/else` then `rm -rf /somewhere` a week later :(
- colanderman 12y agoIt boggles my mind that --one-file-system is not the default :/
- jfb 12y agoMuch, much, much the worse is "rm -rf ~ /blue". I don't give a crap about 99% of the stuff outside of $HOME, but of course, the stuff in $HOME is the stuff that's trivial to destroy.
- lloeki 12y agoYou're missing the point: $ cd dir where there are source files and temp files $ rm *.tmp # or so you think '.tmp not found' # too bad