Open Menu
AllLocalCommunitiesAbout
lotide
AllLocalCommunitiesAbout
Login

sudo rm -rf /

⁨186⁩ ⁨likes⁩

Submitted ⁨⁨10⁩ ⁨hours⁩ ago⁩ by ⁨Homo_Erectus@lemmy.zip⁩ to ⁨[deleted]⁩

https://lemmy.zip/pictrs/image/2a6142b9-e86c-466d-bf1c-26a243e5809f.avif

source

Comments

Sort:hotnewtop
  • stoy@lemmy.zip ⁨10⁩ ⁨hours⁩ ago

    Don’t you have to pass the --no-preserve-root flag for this to work these days?

    source
    • Homo_Erectus@lemmy.zip ⁨10⁩ ⁨hours⁩ ago

      Yeah, but it wouldn’t fit in the speech bubble =P

      source
    • 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.

      source
      • 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 when SDCARD isn’t defined.

        source
        • -> View More Comments
      • Sylvartas@lemmy.dbzer0.com ⁨3⁩ ⁨hours⁩ ago

        Shouldn’t it be /*.* for proper nuking or is that unnecessary ?

        source
  • balderdash9@lemmy.zip ⁨4⁩ ⁨hours⁩ ago

    Don’t try this at home kids

    source
  • 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

    source