mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:47:44 +00:00
Base: Add shutdown(1) manpage
This commit is contained in:
parent
f94dacf90e
commit
a875083739
1 changed files with 18 additions and 0 deletions
18
Base/usr/share/man/man1/shutdown.md
Normal file
18
Base/usr/share/man/man1/shutdown.md
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
## Name
|
||||||
|
|
||||||
|
shutdown - Power off the machine
|
||||||
|
|
||||||
|
## Synopsis
|
||||||
|
|
||||||
|
```**sh
|
||||||
|
$ shutdown
|
||||||
|
```
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
`shutdown` instructs the kernel to power off the machine immediately.
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
The `shutdown` utility opens the `/sys/firmware/power_state` node and writes the magic value "2"
|
||||||
|
to instruct the kernel to power off the machine.
|
Loading…
Add table
Add a link
Reference in a new issue