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

by nixcraft · 0 comments

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.

Featured Articles:

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous FAQ:

Next FAQ:

nixCraft FAQ PDF Collection Now Available To All