-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 31 Oct 2002 11:53:01 -0500, Hal Burgiss wrote:

> On Thu, Oct 31, 2002 at 10:42:03AM -0600, Miguel M wrote:
> > Hi!
> > 
> > How can I prevent the "xinetd based services"
> > to be displayed by "chkconfig --list"?
> > 
> > I have some scripts which worked well under RHL6.2
> > with the output of chkconfig, however the xinetd
> > section in RHL8 breaks the consistency of the
> > format and also my scripts  :-(
> 
> chkconfig --list |grep -v "xinetd\|^[^a-z]"
> 
> Not well tested ... 

Works fine, but also kills the xinetd line in the first table.
So let's grep for a bit more:

chkconfig --list |grep -v "xinetd b\|^[^a-z]"

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9wXAq0iMVcrivHFQRAmBTAJ4vZTiPeSPp0qbsiNJmDdqLbcCO5ACeJMbJ
5eE6B74WWdwAY5PpXIzQ+m0=
=SjdQ
-----END PGP SIGNATURE-----




Reply via email to