0

I tried the following bash code in my terminal:

:()
{
: | : &
};
:

The systems halts and reports:

bash fork: cannot allocate memory

Could anyone explain to me why the above code keeps forking and using out all system memory?

Thanks.

taocp
  • 23,276
  • 10
  • 49
  • 62

0 Answers0