Re: bash: finding if mozilla is running

2003-07-28 Thread Aaron
On -5360-Sat, Jul 26, 2003 at 02:21:52PM +0200, Sebastian Kapfer <[EMAIL PROTECTED]> spake thus, > On Sat, 26 Jul 2003 11:30:06 +0200, David selby wrote: > > > I need to know if mozilla is running, if not I need to call it first ... > > seemed simple > > Yeah. That's why I use Galeon. I never un

Re: bash: finding if mozilla is running

2003-07-27 Thread Richard Heycock
On Sat, 2003-07-26 at 19:22, David selby wrote: > Hello, > > Writting a small script to make mozilla show the results of HTML code > written in vi, when vi saves, the script automaticly changes mozilla to > show that HTML. > > I need to know if mozilla is running, if not I need to call it firs

Re: bash: finding if mozilla is running

2003-07-26 Thread K S Sreeram
> This might help in the future, Seneca: > > ps a | grep slrn | grep -v grep > 863 pts/3S 0:00 slrn > > There's always the 'pgrep' command just do: pgrep slrn -ks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: bash: finding if mozilla is running

2003-07-26 Thread Greg Norris
On Sat, Jul 26, 2003 at 07:36:47AM -0700, Alan Connor wrote: > This might help in the future, Seneca: > > ps a | grep slrn | grep -v grep > 863 pts/3S 0:00 slrn You can cut out an unnecessary process (not that it's likely to be a big deal these days) with: ps a | grep "[s]lrn" -

Re: bash: finding if mozilla is running

2003-07-26 Thread Alan Connor
> From [EMAIL PROTECTED] Sat Jul 26 07:35:08 2003 > > > > > On Sat, Jul 26, 2003 at 10:22:53AM +0100, David selby wrote: > > Writting a small script to make mozilla show the results of HTML code=20 > > written in vi, when vi saves, the script automaticly changes mozilla to= > =20 > > show that

Re: bash: finding if mozilla is running

2003-07-26 Thread Shyamal Prasad
"David" == David selby <[EMAIL PROTECTED]> writes: David> PS what is this Galleon thing ? That's any easy question to answer ;-) $ dpkg -p galeon Package: galeon Priority: optional [...deleted.] Description: Mozilla based web browser with GNOME look and feel Galeon is a fast Web Br

Re: bash: finding if mozilla is running

2003-07-26 Thread David selby
David selby wrote: Hello, Writting a small script to make mozilla show the results of HTML code written in vi, when vi saves, the script automaticly changes mozilla to show that HTML. I need to know if mozilla is running, if not I need to call it first ... seemed simple if ! ps ax | grep "m

Re: bash: finding if mozilla is running

2003-07-26 Thread Sebastian Kapfer
On Sat, 26 Jul 2003 13:50:05 +0200, Seneca wrote: > On Sat, Jul 26, 2003 at 10:22:53AM +0100, David selby wrote: >> Writting a small script to make mozilla show the results of HTML code >> written in vi, when vi saves, the script automaticly changes mozilla >> to show that HTML. >> >> I need to

Re: bash: finding if mozilla is running

2003-07-26 Thread Sebastian Kapfer
On Sat, 26 Jul 2003 11:30:06 +0200, David selby wrote: > I need to know if mozilla is running, if not I need to call it first ... > seemed simple Yeah. That's why I use Galeon. I never understood Mozilla's remote control. :-) Of course, Galeon has other advantages, too... > Whatever I grep for,

Re: bash: finding if mozilla is running

2003-07-26 Thread Nicos Gollan
On Saturday 26 July 2003 11:22, David selby wrote: > Hello, > > Writting a small script to make mozilla show the results of HTML code > written in vi, when vi saves, the script automaticly changes mozilla to > show that HTML. > > I need to know if mozilla is running, if not I need to call it first

Re: bash: finding if mozilla is running

2003-07-26 Thread Seneca
On Sat, Jul 26, 2003 at 10:22:53AM +0100, David selby wrote: > Writting a small script to make mozilla show the results of HTML code > written in vi, when vi saves, the script automaticly changes mozilla to > show that HTML. > > I need to know if mozilla is running, if not I need to call it fir