• superkret@feddit.org
    link
    fedilink
    arrow-up
    27
    arrow-down
    1
    ·
    edit-2
    2 months ago

    WARNING:

    Don’t ever do this on a current bare metal system!
    Even if you have everything backed up, plan on re-installing anyway, and just want to see what happens.

    On a modern EFI system, recursively deleting everything (including the EFI path) has a chance of permanently hard-bricking your computer!
    https://github.com/systemd/systemd/issues/2402

    • DefederateLemmyMl@feddit.nl
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      2 months ago

      In Linux, everything is a file.

      So if you have a problem, it will be in a file somewhere.

      So logically every problem can be equalled to one or more files.

      Therefore it follows: no files = no problems. And no problems = no headache.

      • illectrility@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        rm is like “delete permanently”, trash-cli is like regular delete - it moves to the trash bin. Many people like making an alias so rm runs trash-cli to prevent accidentally permanently deleting data

      • Autonomous@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        rm deletes files the normal way everyone who actually knows unix expects it

        trash-cli tries to bring the comfort of windows to linux for the crybabies who like to delete files so recklessly that they end up screwing themselves later. (the same people who don’t ever take backups or snapshots)