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

you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 2 years ago (3 children)

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

  • source
  • parent
  • hideshow 6 child comments
  • [–] 13 points 2 years ago (1 child)

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

  • source
  • parent
  • hideshow 2 child comments