Friend suggested to type :(){ :|: & };: and pres enter on my Ubuntu machine's terminal and I did, it gave me output as number and system hanged forever. Could anyone help me understand why did this happen?
Asked
Active
Viewed 960 times
1
fixer1234
- 28,064
1 Answers
2
This is a fork bomb, there are plenty of information about this on the web:
https://stackoverflow.com/questions/991142/how-does-this-bash-fork-bomb-work