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: 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.
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest