Forrest logo
back to the telinit tool

telinit:tldr:b52ba

telinit: Change to rescue mode.
$ telinit 1
try on your machine

The command "telinit 1" is used to change the system's runlevel to level 1.

In a Linux or Unix operating system, the runlevel determines the state the system is in and determines which services and processes are running. There are different runlevels, each representing a specific mode of operation.

Runlevel 1 is also known as the "single-user mode" or "maintenance mode". It is a minimal state where only a few essential processes are running. This mode is typically used for troubleshooting, system maintenance, or repairing the system when it is not functioning correctly.

When the "telinit 1" command is executed, it triggers the system initialization process, causing the system to transition into runlevel 1. This means that the system will stop most services and processes except for the fundamental ones required for basic user interaction. It allows the user to have direct access to the console as the root user, enabling system administration tasks to be performed effectively.

Overall, the "telinit 1" command is used to switch the Linux or Unix system into maintenance mode, where only crucial processes are active, facilitating troubleshooting and repair activities.

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 telinit tool