HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

telinit — Change SysV runlevel. Since the concept SysV runlevels is obsolete the runlevel requests will be tra

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thetelinitcommandrunlevelclichangesysvsince
linux

Problem

How to use the telinit command: Change SysV runlevel. Since the concept SysV runlevels is obsolete the runlevel requests will be transparently translated into systemd unit activation requests. More information: <https://manned.org/telinit>.

Solution

telinit — Change SysV runlevel. Since the concept SysV runlevels is obsolete the runlevel requests will be transparently translated into systemd unit activation requests. More information: <https://manned.org/telinit>.

Power off the machine:
telinit 0


Reboot the machine:
telinit 6


Change SysV run level:
telinit {{2|3|4|5}}


Change to rescue mode:
telinit 1


Reload daemon configuration:
telinit q


Do not send a wall message before reboot/power-off (6/0):
telinit --no-wall {{value}}

Code Snippets

Power off the machine

telinit 0

Reboot the machine

telinit 6

Change SysV run level

telinit {{2|3|4|5}}

Change to rescue mode

telinit 1

Reload daemon configuration

telinit q

Context

tldr-pages: linux/telinit

Revisions (0)

No revisions yet.