Your Question: What Is Telinit in Linux?
Contents a Runlevel Is a Software Configuration of the System That Allows Only a Selected Group of Processes to Exist. … Init Can Be in One of Eight Runlevels...
A runlevel is a software configuration of the system that allows only a selected group of processes to exist. … Init can be in one of eight runlevels: 0 through 6, and S or s. The runlevel is changed by having a privileged user run telinit, which sends appropriate signals to init, telling it which runlevel to change to.
What is Telinit command?
The telinit command, which is linked to the init command, directs the actions of the init command. The telinit command takes a one-character argument and signals the init command by way of the kill subroutine to perform the appropriate action.
What is the command to shutdown the machine with Telinit?
Although you can power down the system with the telinit command and the 0 state, you can also use the shutdown command.
…
Shutdown.
| Command | Description |
|---|---|
| -r | Reboots after shutdown, runlevel state 6. |
| –h | Halts after shutdown, runlevel state 0. |