this post was submitted on 19 May 2024
226 points (97.1% liked)

linuxmemes

20408 readers
961 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 22 points 4 months ago* (last edited 4 months ago) (2 children)

You are correct, left hand is a fork bomb. Specifically, it creates and then runs a function named ":". What this function does is pipe its output into itself while running in a background process, which instantly spawns infinite copies of itself. Technically I believe the : character could be any character as its just a name. The creator just picked a colon for aesthetics.

[–] [email protected] 10 points 4 months ago

I always just kind of glazed over looking at that and just know "it's a fork bomb" and basically what it does

With your explanation, I can now actually understand all the parts and how they work, it actually makes sense

[–] [email protected] 4 points 4 months ago

Now I get why it does what it does and how it works. I never thought that the colon was the variable name but it makes so much sense!