I am also currently learning c++;
I am utterly confused at the whole point of this topic..... It makes no sense, there is no point to it.
I really started reading this hoping to be amazed - is there something i am missing?
noThis is the most beautiful piece of code i have EVER seen, It is a simple bash script.Code:Removed due to sense..... (People don't think before they run code)
DONT run it! (This is simply for looking and not touching)The following is arguably one of the most elegant examples of a fork bomb. It was created by Jaromil in 2002, and released as an open source piece of art. The fork bomb is executed by pasting the following 13 characters into a UNIX shell such as bash or zsh.[1]
While we are in the process of teaching about Recursion we might as well teach about this
http://en.wikipedia.org/wiki/Fork_bomb
Great, now there is meaning, Code
Last edited by drubin; March 26th, 2008 at 09:48 PM.
You should delete that. Someone will run it.
hmm... the code posted thus far will not harm your computer.. unless you keep it running for days...
it is just an infinite loop NOT a fork bomb
Registered Linux user # 0x6D9B1
True,
But any one that runs code, that it explicitly says dont! well I don't have much sympathy for.
I included the url link, as to explain that running code you have no idea what it does, (No matter now cool and simple it looks) can be harmful!
I removed the code from the post, so people would have to actually go to the site read it, and do the exact opposite.
ohh ok.. but if someone is running code without knowing does that code do deserves and consequences
I really like that sticky post about malicious commands
Registered Linux user # 0x6D9B1
Question!
Even if someone was stupid enough, wouldn't terminal shortcuts such as "Ctrl+C" or "Ctrl+Alt+C" stop the program in it's tracks? (unless the & command was used with the initiation of the program).
Regards
Iain
Bookmarks