Accidentally executed "rm -rf /" while typing "rm -rf /mnt/test/" FML.

  • 2
    It should warn you and give you a prompt before executing
  • 5
    I always include -rf flags at the end, so I accidentally don't delete wrong directory
  • 3
    I always add the sudo part after I've typed everything, so that kind of thing doesn't happen. I've pressed the enter key instead of the backspace by accident many times before, so better safe than sorry
  • 6
  • 2
    With great power comes great responsability
  • 2
    I always start rm -rf with a #, then read the line 10 times before removing the # and wiping the wrong directory anyway.
  • 0
    @monolithicblob Will do from now on.
  • 1
    @ste09 This one does. This one also walks into Mordor ocassionaly.
  • 0
    How's gitlab?
  • 0
    I never ever use a global path while deleting stuff. Just to make sure I only delete what I want to delete.
Add Comment