Forrest logo
back to the chkconfig tool

chkconfig:tldr:0094b

chkconfig: Disable service at boot for runlevel 3.
$ chkconfig --level ${3} ${ntpd} off
try on your machine

The command chkconfig is used to manipulate the runlevel services in Linux. Runlevels are different operating modes in which a system can run. The command chkconfig allows you to enable or disable services in different runlevels.

In this specific command:

  • --level ${3} specifies the runlevel at which the change should be made. The value of ${3} is a variable that should be replaced with a specific runlevel number.
  • ${ntpd} represents the service to be modified. Again, it is a variable that should be replaced with the actual service name.

The command off is used to disable or turn off the specified service at the specified runlevel. This means that the service ${ntpd} will not start automatically when the system boots up in runlevel ${3}.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the chkconfig tool