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.

