Re: chkconfig xinetd services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux