fork bomb – Crash the linux system

This this below command in bash. Linux machine will be hanged.

:(){ :|: & };:

 

:() – define a function called :

{:|: &} means run the function : and send its output to the : function again and run that in the background.

The ; is a command separator

: runs the function the first time.

Published by

Leave a Reply

Your email address will not be published. Required fields are marked *