chkconfig Command Examples for Red Hat and CentOS
chkconfig is a command for checking and updating runlevel information for system services. For a primer on runlevels, check out our tutorial: Linux Runlevels Explained.
- These instructions are intended specifically for checking and updating chkconfig.
- I’ll be working from both a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.
chkconfig --list
chkconfig --list | grep 3:on
chkconfig httpd on
chkconfig httpd off
chkconfig --level 3 httpd on
It is also possible to combine multiple levels into one command:
chkconfig --level 35 httpd on
chkconfig --level 3 httpd off
It is also possible to combine multiple levels into one command:
chkconfig --level 35 httpd off
Related Articles:

About the Author: J. Mays
As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
Latest Articles
Rackco Customer FAQ
Read ArticleHow to Use Disk Quotas in Dedicated Linux Servers With cPanel
Read ArticleHow to Use Disk Quotas in Dedicated Linux Servers With cPanel
Read ArticleHow to Use Disk Quotas in Dedicated Linux Servers With cPanel
Read ArticleGuide on Connecting to Remote Servers Using SSH in Linux, Windows, or macOS Systems
Read Article