シェルスクリプト総合 その13
■ このスレッドは過去ログ倉庫に格納されています
0153名無しさん@お腹いっぱい。
2008/11/08(土) 00:46:00:() defines a function named : with no arguments.
{ :|:& } is what the function does.
:|: calls itself twice (with a pipe between the two), and the & at the end runs it in the background as a new process.
The ; finishes off that command, then the last : runs the function, starting the fork bomb
(as each run starts 2 new processes, each of which starts 2 new processes...).
■ このスレッドは過去ログ倉庫に格納されています