lol sudo rm -rf / - Feddit

Why would you tell people to run that command?

Also it’s just wrong advice, since you explicitly need –no-preserve-root for it to work… /s

Jokes aside, please don’t troll anyone with things, that can have severe consequences. Yes, they should have a backup. Yes, they should know how to restore from it. Yes, they should have tested it prior. Yes, you shouldn’t blindly trust people online.

But even then: Assuming my backup works and I can easily revert the damage. Maybe I need to complete an assignment until tomorrow and just lost 1-2 hours because my PC was busy doing the restore? There’s always a high chance of collateral damage

Sudo dd if=/dev/random of=/dev/* will fix your disk
You deserve points for creativity
Yeah, I don’t know if it’s recursive or even if it even accepts wildcards but it’s probably best if it doesn’t work.