• ImplyingImplications@lemmy.ca
    link
    fedilink
    arrow-up
    45
    ·
    4 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.

    • Jumuta
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

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

      • lseif@sopuli.xyz
        link
        fedilink
        arrow-up
        8
        ·
        4 months ago

        depending on your shell, i believe the glob is expanded before it gets to the rm program