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

It'd teach them not to run random commands they found on the internet, what rm does, and to make backups. Three valueable lessons.

That is, if it would actually work: modern rm implementations have a special case for /. Read the manpage and/or try this instead:

rm -rf --no-preserve-root /



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

Search: