Don’t try this at home kids
sudo rm -rf /
Submitted 1 month ago by Homo_Erectus@lemmy.zip to [deleted]
https://lemmy.zip/pictrs/image/2a6142b9-e86c-466d-bf1c-26a243e5809f.avif
Comments
balderdash9@lemmy.zip 1 month ago
WereCat@lemmy.world 1 month ago
I did this accidentally on my TrueNAS when I was tired and troubleshooting something after midnight… luckily I had a backup
Kimika@lemmy.world 1 month ago
For those with a full or partial “huh?”
stoy@lemmy.zip 1 month ago
Don’t you have to pass the --no-preserve-root flag for this to work these days?
second@feddit.uk 1 month ago
Or use
/*for the path so it globs to all directories under/whilst not triggering the logic which requires–no-preserve-root.hayvan@piefed.world 1 month ago
Yes, that’s how I nuked my workstation once. Part of my development routine was running
sudo rm -rf $SDCARD/*. Guess what happens whenSDCARDisn’t defined.Sylvartas@lemmy.dbzer0.com 1 month ago
Shouldn’t it be
/*.*for proper nuking or is that unnecessary ?Homo_Erectus@lemmy.zip 1 month ago
Yeah, but it wouldn’t fit in the speech bubble =P