💀☠️

  • sepi@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    This is where we sort the younglings from the grizzled veterans that backup and test their backups. Haven’t lost a file since 2002.

    • hddsx@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      Nobody deletes “./“. It’s far far more likely to be “/ tmp/file”

      Also, without the -f it will prompt you. Chances are, the meme is with -f

      The other possibility, though I haven’t tested it, is the working directory is / and they did “rm -rf .” Without first checking with pwd. I know that most OS will refuse to remove root without passing in a special flag nowadays. Only a few OS still respect you as sudo.

    • Pommes_für_dein_Balg@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      2 months ago

      I do the opposite. Whenever I delete anything I use rm -rf /full/path/to/file
      Just starting to type that triggers a fear response and makes me triple-check what I’m doing.

      • unwarlikeExtortion@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Honestly, this idea has me pretty mortified as well. Just seeing ”rm -rf /” as part of a string sends chills down my spine.

        Granted, any reasons or explanations to cause a string being cut short to this godforsaken form and accidentally run is extremely unlikely, but a valid theoretical possibility: I can easily imagine someone mistyping the first letter after root and, wishing to delete it, pressing Backspace while simultaneously accidentally grazing the Enter key.

        Sure, the chances of it happening are about the same as a gun user accidentally dropping their gun, clumsily catching it in the air and accidentally shooting someone right in between the eyes as a result.