Alt Text

Bluesky post by user @magnusbeefcastle.bsky.social that reads,

I INSTALLED “LINUX”. BECAUSE WINDOWS IS FOR MEN WHO ASK PERMISSION TO EXIST. I CRUSHED THE INSTALLER WITH MY BARE HANDS AND NOW THE TERMINAL CALLS ME “SIR” BUT MY KERNEL KEEPS PANICKING. WHAT COMMAND MAKES THE COMPUTER SUBMIT COMPLETELY? I REFUSE TO GOOGLE

Link to original post

~Yes, all of this user’s posts are like this.~

  • Sophienomenal@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    65
    ·
    2 days ago

    sudo rm -rf --no-preserve-root / should do the trick! It’ll let the OS know it’s nothing compared to you.

    Note: PLEASE DO NOT RUN THIS ON YOUR COMPUTER, IT IS A JOKE

    • Mac@mander.xyz
      link
      fedilink
      English
      arrow-up
      13
      ·
      edit-2
      2 days ago

      What’s the looping command? It’s a bunch of symbols.

      Edit: the fork bomb. TY commenters

        • lime!@feddit.nu
          link
          fedilink
          English
          arrow-up
          43
          ·
          2 days ago
          :() {      # define a function named ":".
           :         # run the function named ":"
             | :     # pass the output to the function named ":"
                 &   # run this line in the background.
          };         # end of definition
              :      # call the function ":".
          

          in case anyone was curious.

          • rbos@lemmy.ca
            link
            fedilink
            English
            arrow-up
            13
            arrow-down
            1
            ·
            2 days ago

            If you replace : with “loop” it becomes pretty clear. The only ‘weird’ thing is using punctuation as a function name.

            • lime!@feddit.nu
              link
              fedilink
              English
              arrow-up
              14
              ·
              2 days ago

              it’s not just looping; every instance starts two instances of itself waiting for input. it’s basically doing

              async def fork(): 
                  f = fork()
                  await fork(await f)
              

              …except python doesn’t start the second call until its arguments are evaluated, while shell does.

              • rbos@lemmy.ca
                link
                fedilink
                English
                arrow-up
                4
                ·
                2 days ago

                Yeah, “loop” was a poor choice of keywords. My point was that replacing : with a more plain identifier helps it make sense. :)

            • Wirlocke@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              3
              ·
              2 days ago

              I think it’s meant to be confusing. If you’re unfamiliar with code, you’ll likely glaze over the random string of symbols and assume it’s like broken HTML or JSON or something.

              Hell even if you are a programmer, I think most programmers assume you can’t use a colon in a variable or function name, much less just a colon.

              • lime!@feddit.nu
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 day ago

                learning that the shell [[ is a function and ]] is an argument definitely did something to my brain.

              • rbos@lemmy.ca
                link
                fedilink
                English
                arrow-up
                5
                ·
                2 days ago

                Definitely. But it’s worth expending some skull meat to understand what’s going on. :)

                In some of my university classes I liked to use Hiragana characters (from Japanese) for variables and function names, just to be a jerk.

      • megopie@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        Recursively force delete the listed directory, so not just delete the directory, but go through anything below and delete that too, and the / is the root directory. So it deletes everything.

    • ekZepp@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      Somehow, the exact second I’ve finished reading this meme i knew i would have find this comment below.

      To be clear that command would wipe out everything. So please DON’T play with the nuclear option in your terminal.

    • bridgeburner@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      2 days ago

      That note is unnecessary. I’d say if you are stupid enough to copy a command you find on the Internet and run it without knowing what it does, you deserve the consequences lol

      • Cevilia (they/she/…)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        That comment is unnecessary. I’d say if you are stupid enough to call people you don’t know on the Internet stupid just because they’re trusting, and they don’t magically know what every Linux terminal command they’ve never heard of does…

  • GimmeUrBelt@lemmy.today
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 days ago

    Meanwhile, here I am getting pegged by KDE cause I failed to properly research what migrating to Linux entailed.

  • Foni@piefed.zip
    link
    fedilink
    English
    arrow-up
    28
    ·
    2 days ago

    Pfft, only a true beta user uses BlueSky. Real men tame their own Mastodon server.