> I would like to know why,
> [shell]$ :(){ echo "in background"& }
> works?
> [shell]$ :(){ echo "in background" } -- NOTE: no ampersand( & ) here!
> does not work?
Interesting fork-bomb - probably the shortest possible.
The ":" could have been any char usable as a variable like say "_" but
: looks neat because it is thin and is not an alphabet :)
If you do
[shell]$ :(){ echo "in background"; };
it will work. I think "&" takes out the need for the ";" as end of line
Cheers
Anoop
--
----------------------------------------------------------------
http://www.zyxware.com
http://thondomraughts.blogspot.com
----------------------------------------------------------------
Be the change you wish to see in the world
M. K. Gandhi
----------------------------------------------------------------
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22/23, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[email protected]/