• @wildbus8979
    link
    84
    edit-2
    25 days ago

    Remember kids, you gotta use rm -rf --no-preserve-root /* now a days!

    • @Barbarian
      link
      48
      edit-2
      25 days ago

      rm -rf /* will work just fine (assuming sudo permissions ofc)

      You need the additional flag for rm -rf --no-preserve-root /

      • @[email protected]
        link
        fedilink
        4525 days ago

        Too many people got trolled into “removing the French language pack” on Linux systems that there’s now a check to see if someone is deleting every file off their computer (including the os system files). --no-preserve-root is the option you need to include to actually delete all the files off your system.

        • @Jumuta
          link
          525 days ago

          weird how it doesn’t warn you for rm -rf /* though

      • wander1236
        link
        2925 days ago

        Contrary to the memes, Linux does actually sometimes try to stop you from shooting yourself in the foot

      • @CCF_100
        link
        English
        1425 days ago

        Overrides the protection in place that prevents you from deleting the root of your filesystem.