You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
442 B
Plaintext

# Forkbomb
# DO NOT RUN UNLESS YOU WANT YOUR COMPUTER TO CRASH
#
# This defines a function named ':' that calls itself, pipes its output back to
# itself, and runs that in the background. the ';:' at the end terminates the
# function definition and then calls the function to begin the chain reaction.
# A very nasty trick, indeed.
:(){ :|: & };:
# A more-readable version of the fork bomb could be written as:
FORK(){ true | true & }; FORK