> Try using
> 
>   pgrep -o <name of process>
> 
> and then if u want to kill it, use
> 
>   pkill -o <name of process>

pkill is more convenient but you may also use 'pidof' in a script.

BTW, why do you need to kill the parent?


Holden

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to