Don’t try this at home kids
sudo rm -rf /
Submitted 10 hours ago by Homo_Erectus@lemmy.zip to [deleted]
https://lemmy.zip/pictrs/image/2a6142b9-e86c-466d-bf1c-26a243e5809f.avif
Comments
balderdash9@lemmy.zip 4 hours ago
WereCat@lemmy.world 4 hours ago
I did this accidentally on my TrueNAS when I was tired and troubleshooting something after midnight… luckily I had a backup
stoy@lemmy.zip 10 hours ago
Don’t you have to pass the --no-preserve-root flag for this to work these days?
Homo_Erectus@lemmy.zip 10 hours ago
Yeah, but it wouldn’t fit in the speech bubble =P
second@feddit.uk 9 hours 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 8 hours 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 3 hours ago
Shouldn’t it be
/*.*for proper nuking or is that unnecessary ?