>
> main(int c,char **v){while(!fork()){strcpy(v[0],tmpnam(0));sleep(1);}}
> A program that changes its name and pid every second.
> Try this program at your own risk! ---> Binand <---
>
Tried this program. The pid and name keeps changing. It can be killed
by the following command (in tcsh)
kill `ps | grep tmp | awk '{print($1)}'`
------------------------------------------------------------------------
T. N. Venkatesh Phone : (Off) 5273351 ext 6591
Scientist, Flosolver Unit 5086591, 5261824
National Aerospace Laboratories (Res) 3486122
Kodihalli
Bangalore 560 017 e-mail:[EMAIL PROTECTED]
INDIA [EMAIL PROTECTED]
-----------------------------------------------------------------------
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.