mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 13:06:00 +02:00
telinit: add page (#9288)
This commit is contained in:
parent
659da1ec92
commit
44416e176c
1 changed files with 29 additions and 0 deletions
29
pages/linux/telinit.md
Normal file
29
pages/linux/telinit.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue