How do I verify that service is turned on in xinetd under Fedora or Red Hat Linux?

last updated in Categories

Q. I am running Fedora Linux version 4.0 server. Couple of services run under xinetd. Now how do I verify that service is turned on in xinetd?

A. You can use command line tool called chkconfig or text based GUI tool called ntsysv. For example see if service foo:

# chkconfig –list foo

Output:

foo          off

As you see service foo is off, to turn on type command:

# chkconfig foo on
# chkconfig –list foo

Output:

foo           on

It is recommended that you use ntsysv, which is graphical tool and works on remote ssh session.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.