What is the “Chkconfig” command in Ubuntu Linux and what is it for?

Among these, the use of commands to perform a function that involves changing the contents of the computer always stands out. Commands of which there is a long list, which includes Chkconfig.

For this reason, once the user acquires root or administrator permissions (within a space or through the computer, he must learn the contents of this list in order to be able to freely perform a set of tasks, using the window command.

We will now talk about the use that can be assigned to this code and how you can change the use of a service through it.




A cosa serve Chkconfig?

It is a command programmed for manipulate the activity of a server Linux. This is capable of working regardless of whether it is running or not while editing the command window.

What is the “Chkconfig” command in Ubuntu Linux and what is it for?

Likewise, it avoids the common mistakes some users make when trying to manually manage the operation of a server.

Its syntax allows it to perform a variable number of functions, as long as they are related to the services that run within the operating system. Although it is also possible to sync them to the cloud using Rclone.

How can Chkconfig be used?

Like any other command within the "Terminal", the command must be accompanied by a verb. As the name suggests, it determines or specifies the action to be performed.

Request a list of Linux services

The topic " —List ”Shows the status of the services that are part of the operating system. This is done in order to assess the state they are in.

Likewise, the administrator has the possibility to accompany the topic with the name of a service, in case he wants to analyze only his information.




In both cases, the syntax would be written as follows inside the command window: " chkconfig –list " in the first case.

If you want to evaluate only the status of a service, running or not, just add its name together with the syntax to receive the information: " chkconfig –list servicename ".

Enable or disable Linux services

Unlike the previous function, the syntax of this command is executed only with the terms on and off in English, accompanied by the service to be changed.

For example, if you want to activate a disabled service, just open the command window and enter: " chkconfig service name su ".

Create service entries

A very common problem within Ubuntu is when a service is installed and the entry is not created automatically, or when a Squid proxy server cannot be installed or configured, making it difficult to manage through various commands, including the one commented on at inside of this article.

If while trying to activate or disconnect a newly installed service, shows an error message after writing the code inside the command window, you don't need to worry.


What is the “Chkconfig” command in Ubuntu Linux and what is it for?


To create the service entry for the operating system, use " chkconfig –add servicename "In the" Terminal "window. This ensures that the connection is formed correctly and allows the user to work with the server.

Likewise, if you remove the service you have installed, you can also delete the symbolic link from the system using " chkconfig - del number of services ".


These three functions mentioned above are with which the command in question performs with total excellence. Allow the administrator to be part of the management of your team.

Likewise, checking the performance of services helps the computer not to crash due to the need to perform so many tasks at the same time. So using chkconfig to prioritize the necessary ones is the most recommended.

add a comment of What is the “Chkconfig” command in Ubuntu Linux and what is it for?
Comment sent successfully! We will review it in the next few hours.