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
    6
    ·
    7 hours 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
      5
      ·
      6 hours ago

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

    • Corr@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      7 hours ago

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