Dear All,

I am running an EigerStein-2beta LRP and I want to check if the pppd
deamon is still running.

I would have done something like:

if [ ps ax | grep -v grep | grep -q /usr/sbin/pppd ]
then
  ...
else
  ...
fi


But...

grep doesn't do "-v" or (I think) "-q".


This must be simple, could an expert out there help me please?


Greetings

Mark

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to