PDA

View Full Version : Ubuntu is amazing



mpgarate
May 30th, 2008, 01:00 AM
for fun I made a script with the following contents


./BAD.sh
(where BAD.sh) is the name of the script I created.

Its a recursive script.. just loads a copy of its self indefinately.. or so I thought

Ubuntu stopped it at a certain point and killed all the processes automatically (I'm not sure exactly when, I was away)

FFighter
May 30th, 2008, 01:08 AM
hmmm.. are you sure it is something inherently from Ubuntu? Maybe it is something from the kernel or bash or something else.

Interesting though...

mpgarate
May 30th, 2008, 01:09 AM
well, youre right it could just be linux/gnome/some other app ubuntu ships

marshall.robert
May 30th, 2008, 01:31 AM
could be something like an anti-malware system...

madjr
May 30th, 2008, 01:32 AM
now try the /WORSE.sh script

Mr. Picklesworth
May 30th, 2008, 01:45 AM
I believe that would be a stack overflow. Yes, technical limitation aside, (finite arbitrary stack size), it is pretty cool... until you don't know why they're happening.