snippetbashTip
telinit — Change SysV runlevel. Since the concept SysV runlevels is obsolete the runlevel requests will be tra
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 0Reboot the machine:
telinit 6Change SysV run level:
telinit {{2|3|4|5}}Change to rescue mode:
telinit 1Reload daemon configuration:
telinit qDo not send a wall message before reboot/power-off (6/0):
telinit --no-wall {{value}}Code Snippets
Power off the machine
telinit 0Reboot the machine
telinit 6Change SysV run level
telinit {{2|3|4|5}}Change to rescue mode
telinit 1Reload daemon configuration
telinit qContext
tldr-pages: linux/telinit
Revisions (0)
No revisions yet.