Little bash programming

Robert Bushman plug-discuss@lists.plug.phoenix.az.us
Thu, 11 Jul 2002 14:14:59 -0400 (EDT)


heh, nice.

y'know, I still occasionally do:
gzip -dc argle.tar.gz | tar -xvf -

On Thu, 11 Jul 2002, Jeffrey Pyne wrote:

> ...or:
>
>   pkill mozilla
>
> I usually precede that with a
>
>   pgrep -l mozilla
>
> Just to preview what I will be killing.  Just another way to skin this
> particular cat.
>
> ~Jeff
>
> On Wednesday, July 10, 2002 10:00 PM, Robert Bushman sent:
>
> > Hmmm, important safety tip - the right way to do this is:
> >
> > $ ps -a | grep mozilla
> >
> >   VERIFY THAT YOU WANT ALL DISPLAYED PROCESSES TO DIE!
> >
> > $ kill `ps -a | grep mozilla | awk {'print $1'}`
> >
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

--------------------------------------------------------------------
 "We need commonsense judges who understand that our rights were
 derived from God. Those are the kind of judges I intend to put on
 the bench." President George W. Bush, 27 June 2002
 http://www.nando.net/politics/story/453192p-3627921c.html

 "no religious Test shall ever be required" Constitution Article 6
 http://www.law.emory.edu/FEDERAL/usconst/art-6.html
--------------------------------------------------------------------