Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the telinit command of linux to change the run level of the system

Shulou Source: shulou.com Published: 2022-06-02 19:26:30 09月22日 Update

This article will explain in detail about the use of linux's telinit command to change the running level of the system. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Use the telinit command to change the runlevel of the Linux system. The runlevel can be a number between 0x6, where 0 is shutting down the system, 1 is entering single-user mode, 2run5 is multi-user runlevel, and 6 is rebooting the system. S or S represents single-user mode.

Syntax format: telinit [parameters] [run level]

Common parameters:

-Q reduces output, only error message-v increases output, including informational messages

Reference example

Change the runlevel of the Linux system to 3:

[root@linuxcool ~] # telinit 3 about using linux's telinit command to change the running level of the system is shared here. I hope the above content can be helpful to everyone and learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Levels runs systems commands information parameters more patterns articles single user reference output good practical between informative content only examples commonly used Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei NVidia MariaDB Docker macOS