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

List all enabled services



I am in the process of writing a shell script that would List all the
Enabled services on RH servers.

Right now, I am checking all the files in /etc/xinetd.d, and listing
all the files where the disable=yes tag is not there.

Is this the right way to do?
Or should I just and check the /etc/services file.

Thanks in advance.


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