View Single Post

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

On 2008-03-08, Doug McIntyre <merlyn@geeks.org> wrote:
> 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..


LOL. Exactly the same, here!


--
"Be thankful that you have a life, and forsake your vain
and presumptuous desire for a second one."
[email me at huge {at} huge (dot) org <dot> uk]
Reply With Quote