• z3bra@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I tried but got an error:

    :& : Command not found
    

    Is it expected ? Did I type something wrong ? I’m confused…

    • beepnoise@beehaw.org
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      It’s a fork bomb. Specifically it’s a piece of code that recursively calls itself and then it calls itself to run the code.

      Thank goodness it did not work, but please do not actually run code like this!! Do your best to figure out what the code is doing before you attempt to run it!

      • z3bra@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        5 months ago

        Nevermind I figured what went wrong, I mistyped it initially ! It would have been much easier to copy paste it if it wasn’t a picture…

        Fun fact, the command displays a nice cat picture in ASCII :)

        Edit: screenshot

    • bmaxv@noc.social
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      @wgs

      Generally, don’t just copy paste things you find online.

      Something else to be aware of and stay away from is “rm -rf /” which will delete everything on your computer, including your operating system. Naturally this will crash the computer and you will not be able to start it again.

      (You should be able to boot from a usb stick though.)

        • bmaxv@noc.social
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          5 months ago

          @BaardFigur My dude, I understand and celebrate the memes, but please understand that linux first time using is a sensitve period in people’s lives and the reach of modern social media means there is some x% of users who will have a bad time, because they saw that meme and took it seriously.

          It’s a statistical guarantee.

      • z3bra@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        I just tried your command and it yields a lot of Permission denied. Is it expected or your command is incomplete ?

        • bmaxv@noc.social
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          @wgs I really hope you’re trolling. Don’t do that.

          Yes, this is expected and means the regular safeties are working. Don’t turn those off please.