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.
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.