diff options
author | Liav A <liavalb@gmail.com> | 2021-12-19 21:04:35 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-12-19 11:13:58 -0800 |
commit | a875083739c5162e58d4369810471fc39b8096d7 (patch) | |
tree | e314ce288033e0995e269e5c4a24b7533c9d7019 /Base/usr/share/man/man1/shutdown.md | |
parent | f94dacf90e0bfbc437d9a7e1f96f65cfbe3aa996 (diff) | |
download | serenity-a875083739c5162e58d4369810471fc39b8096d7.zip |
Base: Add shutdown(1) manpage
Diffstat (limited to 'Base/usr/share/man/man1/shutdown.md')
-rw-r--r-- | Base/usr/share/man/man1/shutdown.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Base/usr/share/man/man1/shutdown.md b/Base/usr/share/man/man1/shutdown.md new file mode 100644 index 0000000000..70d18fbdf9 --- /dev/null +++ b/Base/usr/share/man/man1/shutdown.md @@ -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. |