Base: Add shutdown(1) manpage
This commit is contained in:
parent
f94dacf90e
commit
a875083739
Notes:
sideshowbarker
2024-07-17 22:35:25 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/a875083739c Pull-request: https://github.com/SerenityOS/serenity/pull/11314
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
Reference in a new issue