• @[email protected]
      link
      fedilink
      48
      edit-2
      4 months 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
        454 months 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.

      • wander1236
        link
        fedilink
        304 months ago

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

        • @rtxn
          link
          English
          264 months ago

          Yes, do as I say!

          • @[email protected]
            link
            fedilink
            64 months ago

            Every time I get one of these even if I 100% feel like I know what I’m doing it strikes a deep fear in me

              • @SkyeHarith
                link
                3
                edit-2
                4 months ago
                
                touch me
                touch a
                touch sandwich
                sudo make me a sandwich
                
                
      • @[email protected]
        link
        fedilink
        English
        144 months ago

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