• jaybone@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    11 days ago

    Should only be used with extreme caution and if you know what you are doing.

    Ok. What is the actual use case for “rm -rf /“ even if you know what you are doing and using extreme caution? If you want to wipe a disk, there are better ways to do it, and you certainly wouldn’t want that disk mounted on / when you do it, right?

    • Sunsofold@lemmings.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 days ago

      None. Remember that the response is AI generated. It’s probabilistically created from people’s writings. There are strong relations between that command and other ‘dangerous commands.’ Writings about 'dangerous commands ’ oft contain something about how they should ‘only be run by someone who knows what they are doing’ so the response does too.

    • stebo@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      10 days ago

      isn’t the command meant to be used on a certain path? like if you just graduated high school, you can just run “rm -rf ~/documents/homework/” ?