mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
init: add page (#14039)
This commit is contained in:
parent
a243b35be0
commit
c9b7f7411f
1 changed files with 25 additions and 0 deletions
25
pages/linux/init.md
Normal file
25
pages/linux/init.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# init
|
||||
|
||||
> Linux run level manager.
|
||||
> Requires the SYSVINIT compile-time option to be enabled if using systemd.
|
||||
> More information: <https://manned.org/man/init.8>.
|
||||
|
||||
- Set the system to run a graphical environment:
|
||||
|
||||
`sudo init 5`
|
||||
|
||||
- Set the system to run multiuser terminal:
|
||||
|
||||
`sudo init 3`
|
||||
|
||||
- Shut down the system:
|
||||
|
||||
`init 0`
|
||||
|
||||
- Reboot the system:
|
||||
|
||||
`init 6`
|
||||
|
||||
- Set the system to run on terminal with only root user allowed and no networking:
|
||||
|
||||
`sudo init 1`
|
Loading…
Add table
Reference in a new issue