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

  • @ExtremeDullard@lemmy.sdf.org
    link
    fedilink
    207 months ago

    Here’s a rule I learned the hard way a few decades ago:

    • If you type “rm”, take you hands off the keyboard and take one deliberate breath before continuing your command.
    • If you then type “-r”, do it again.
    • If you then type “-f” do it again.
    • In all cases, re-read what you wrote before hitting ENTER.
    • xor
      link
      fedilink
      English
      107 months 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