Forrest logo
back to the chkconfig tool

chkconfig:tldr:bd7cf

chkconfig: Enable service at boot.
$ chkconfig ${sshd} on
try on your machine

The command "chkconfig ${sshd} on" is a Linux command used to manage the automatic startup of system services during boot time.

Here's a breakdown of the command:

  • "chkconfig": It is the command used to manage the system services.
  • "${sshd}": This is a variable that represents the name of the service. In this case, it is assumed that the variable "sshd" holds the name of the SSH server service.
  • "on": This argument is used to indicate that the service should be automatically started during system boot.

So, when you execute the command "chkconfig ${sshd} on", it will enable the SSH server service to start automatically when the system boots up.

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