Possible Duplicate:
How does this bash fork bomb work?
Today one of my friend told me a funny thing, that this such command cause system halted:
:() { :|:& }; :
But, I just don’t understand how does this command work and cause such a disaster.
Any one comes up with this thing?
Thanks,
Xi
In short,
Which basically means that for each call of
:, two instances of:are created, each of which create two more, etc.The correct solution is sane ulimits.