浏览代码

Base: Add shutdown(1) manpage

Liav A 3 年之前
父节点
当前提交
a875083739
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18 0
      Base/usr/share/man/man1/shutdown.md

+ 18 - 0
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.