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

Yeah, rm -rf.

If you decide to let a stochastic parrot run rampant on your system, you can't act surprised when it fucks shit up. You should count on it doing so and act proactively.





`rm -rf /` will refuse to delete the root folder. You can see an example of it doing that here.

https://phoenixnap.com/kb/sudo-rm-rf


This was the D drive though, not root, ie C drive. So rm -rf would happily delete it all.

this is not always true. this is a dangerous fun fact to memorize.

and i don't mean because there's an override flag.




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

Search: