I admit it is a homework but I am lost in explaining the following command line:
WARNING: This is a so called FORK BOMB! This command line can and will crash your pc by consuming all RAM and CPU (trust me, I tried it...)
:(){ :|:& };:
As I know that I should do it alone here is what I have so far (searching for these chars is very discouraging).
- The pipe enables to concatenate some commands together so that the first output is used by the second as input.
- The & is to run a command in the background (basically used to start something from a shell which shouldn't be blocked by the command)
I guess that : is to fork? But here I am totally lost! I am willing to learn, so maybe someone have a good resource where I can read about that?
Source: Forkbombs on Wikipedia