Don’t try this at home kids
sudo rm -rf /
Submitted 2 weeks ago by Homo_Erectus@lemmy.zip to [deleted]
https://lemmy.zip/pictrs/image/2a6142b9-e86c-466d-bf1c-26a243e5809f.avif
Comments
balderdash9@lemmy.zip 2 weeks ago
WereCat@lemmy.world 2 weeks 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 2 weeks ago
For those with a full or partial “huh?”
stoy@lemmy.zip 2 weeks ago
Don’t you have to pass the --no-preserve-root flag for this to work these days?
second@feddit.uk 2 weeks 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 2 weeks 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 2 weeks ago
Shouldn’t it be
/*.*for proper nuking or is that unnecessary ?Homo_Erectus@lemmy.zip 2 weeks ago
Yeah, but it wouldn’t fit in the speech bubble =P