Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think 'rm -rf /' shouldn't work and there should be special command instead of 'rm -rf /', something like rmrfhell, which would ask you three times if you sure and will tell you about pain and tears of other people who ran it.


In the GNU version, that mostly is the case. You need to specify `--no-preserve-root` for it to work, which is obscure enough.


Most versions have --preserve-root (fail if the target is /) on by default, so you have to use --no-preserve-root , although rm -rf /* will still work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: