#!/bin/bash
for i in `ps ax | grep -v -e grep | grep mozilla | awk '{print $1)'`
do
kill -9 $i
done
#end of script
ciao!
william villanueva wrote:
>
> Federico Sevilla III wrote:
> > On Tue, Oct 08, 2002 at 10:05:59AM +0800, Jimmy wrote:
> >> $for i in `ps ax | grep -v -e grep | grep mozilla | awk '{print
> >> $1}'`;do kill -9 $i;done
> >
> > Hey. Neat!
> >
> > Save this in ~/bin/killmoz and you're off. Whenever Mozilla's a little
> > nuts, just run
> >
> > $ killmoz
>
> err... I just tried this and I got:
>
> syntax error near unexpected token `do'
>
> any recommendations? I just cut and paste the whole command....
>
> Thanks
>
--
"Programming, an artform that fights back."
=============================
Anuerin G. Diaz
Design Engineer
Millennium Software, Incorporated
2305 B West Tower, Philippines Stocks Exchange Center,
Exchange Road, Ortigas Center, Pasig City
Tel# 637-4634 loc. 75
Fax# 637-4679
Registered Linux User #246176
=============================
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]