View Single Post

   
  #4 (permalink)  
Old 03-09-2008, 02:34 PM
Doug McIntyre
 
Posts: n/a
Default Re: HELP- Simple Script

CK <claus@ultima-dragons.org> writes:
>Words to the wise, mikas <hmikas@gmail.com> wrote:


>>Someone help me please.
>>
>>I need a script to find a process called xpto, and kill them.
>>Sun FireV240 with Solaris 8.
>>
>>
>>Thank´s in advance,
>>


>kill -9 `pgrep -p xpto` it is I think.


pkill xpto

Hardest part was finding a system still running Solaris 8 to make sure
pkill was part of it..



Reply With Quote