[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Binand's program



I just ran Binand's program that keeps changing it's pid and name
Well it's easy to stop it. Just ctrl-d will do
But I'm trying to write a command that will do it.
I'm a newbie to UNIX. Won't sleep till I get this...
I've gotten as far as 

ps a | grep /tmp/file | head -c 5 ; echo

which basically gives me the pid.

How do I give this as an argument to kill?
This is fun!

- -Rajesh
Live and Let live
... and use Linux

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------