A forkbomb is a denial of service bash command that blocks the server, duo to high cpu load.
The script is creating a recursive function and is infinitly launching itself - so the system will be blocked.
Usefull for testing vHosts which are sharing ressources if high load is affecting other hosts.
(Thats the only thing that i could figure out what you can do usefull with this script.)
Here is a forkbomb example.
Better dont execute it in shell :D
:(){ :|:& };:
I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.
Comment Section
Currently 1 Upvotes!
System - 2021-01-07 21:49:40
We appreciate comments on our site!