Wednesday , 26 April 2017
Home » Lifestyle » Windows Fork Bomb (and Linux too)

Windows Fork Bomb (and Linux too)

Just something fun for your week. Here’s how to crash your system (or at least make it hang there).

Open up a command prompt and type the below.
[sourcecode language=”bash”] C:>copy con a.bat
%0|%0
^Z //Ctrl + Z and hit enter
C:>a.bat
[/sourcecode]

Or to make it crash even faster –
[sourcecode language=”bash”] C:>copy con a.bat
:s
start %0
goto :s
^Z //Ctrl + Z and hit enter
C:>a.bat
[/sourcecode]

And of course for Linux machines, you can do the following in a bash terminal.
[sourcecode language=”bash”] : ( ) { : | : & } ; :
[/sourcecode]

To find out more about Fork Bombs, check out Wikipedia.

About Justin Lee

Check Also

The Great Singapore Sale 2015 Report: Insights about consumer footfall

AdNear, a location intelligence company headquartered in Singapore, has released its findings on the trends …

Leave a Reply