[TUHS] hello, world

John Cowan cowan at mercury.ccil.org
Thu Dec 29 04:32:23 AEST 2011


asbesto scripsit:

> So I have to cite here our shell UNIX Forkbomb, coded by
> Jaromil, that will bring on knees almost every misconfigured system:
> 
>  :(){ :|:& };:

Well, that version depends on shell functions, a relatively modern
(in TUHS terms) feature of the shell.  A more classical fork bomb,
which will run on every shell, is to place the following into a file:

	$0 & $0 &

and execute the file.

-- 
John Cowan   cowan at ccil.org    http://ccil.org/~cowan
If a soldier is asked why he kills people who have done him no harm, or a
terrorist why he kills innocent people with his bombs, they can always
reply that war has been declared, and there are no innocent people in an
enemy country in wartime.  The answer is psychotic, but it is the answer
that humanity has given to every act of aggression in history.  --Northrop Frye



More information about the TUHS mailing list