Understanding Fork Bombs in 5 Minutes or Less

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ธ.ค. 2023
  • You've probably seen a fork bomb before, but do you understand how it works? In this video you'll find out.
    Hope you enjoyed the video!
    Check out some code on my GitHub:
    github.com/realtux
    github.com/engineer-man/youtube
    Other Social:
    / engineerman
    / _engineerman
    / discord

ความคิดเห็น • 130

  • @EngineerMan

    Warning: Don't run this on your own system. If you want to test it, create a VM like I did.

  • @lillii9119

    Short version: it creates a function called : that calls itself infinitely

  • @demipy
    @demipy  +232

    I know this classic for over a decade now, but this was such a great video explaining it in detail! Thats the content i love this channel for. No BS straight to the point. ❤

  • @nnutipa
    @nnutipa  +12

    Thanks. But the most interesting part with pipe and fork itself were not covered:( You said pipe is what actually creates a fork bomb, but why?

  • @flipperiflop

    Great explanation! The expanded version really made it go from black magic to "oh it's that simple"

  • @connorallen162

    Oh THAT's why you don't want everything to be run by the root user

  • @theoreticalaxolotl2804

    My roommate will love this prank

  • @docker31c

    So i got trolled in a stackoverflow question...

  • @ai-spacedestructor

    the VM setup is questional, you said you had to restart your system and the VM. sounds like you gave it too much pc resources or using some vm i never heard about before which doesnt asign a limited number of resources in order to run it.

  • @matejhurta5626

    I kinda accidentally let it loose on the uni network and it crashed the network for a few days and I got failed :(

  • @tc2241
    @tc2241  +51

    I love videos like these. Straight to the point, clearly explained with concise examples and demonstrations

  • @alicefraser5799

    That's why I love your content EM. Learning so much from you. Keep them coming :)

  • @paulm3702

    Wow that's interesting! Love the breakdown of how that code actually worked

  • @alexanderaphonin7850

    Great video, great explanation! Thank you for putting in the effort each time!

  • @comosaycomosah

    dude idk how i havent came across your content yet but i dig it.

  • @n8style

    Fantastic explanation, quality video

  • @loverboykimi

    Great education. Appreciated.

  • @yousefm.b4260

    Wow!! this guy actually explained it very well.. I like it

  • @penguinpatroller

    great video. concise and informative

  • @prinnydadnope5768

    Very clear, thank you again