I’m a complete moron, I should’ve had that backed up and used trash…
I had to learn the hard way lol

  • xor@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 month ago

    I’m a big fan of starting the command with a #, then removing it once I’m happy with the command to defend against accidentally hitting enter

    Putting ~ next to the enter key on keyboards (at least UK ones) was an evil villain level decision

    • Zykino
      link
      fedilink
      arrow-up
      15
      ·
      1 month ago

      When I’m unsure, I ls <the-glob>, chek, then replace ls with rm.

    • Corr@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      1 month ago

      I really like this # idea. I’ve also taken to holding off on adding sudo when deleting privileged files