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.~

    • lime!@feddit.nu
      link
      fedilink
      English
      arrow-up
      32
      ·
      10 hours 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
        9
        ·
        9 hours 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
          11
          ·
          edit-2
          9 hours 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.