{"id":1720,"date":"2019-05-02T23:02:01","date_gmt":"2019-05-02T15:02:01","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=1720"},"modified":"2019-05-02T23:02:03","modified_gmt":"2019-05-02T15:02:03","slug":"poweroff","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/poweroff","title":{"rendered":"poweroff\u547d\u4ee4 – \u5173\u95ed\u64cd\u4f5c\u7cfb\u7edf\u5e76\u5207\u65ad\u7535\u6e90"},"content":{"rendered":"\n

poweroff\u547d\u4ee4\u7528\u6765\u5173\u95ed\u8ba1\u7b97\u673a\u64cd\u4f5c\u7cfb\u7edf\u5e76\u4e14\u5207\u65ad\u7cfb\u7edf\u7535\u6e90\u3002\u5982\u679c\u786e\u8ba4\u7cfb\u7edf\u4e2d\u5df2\u7ecf\u6ca1\u6709\u7528\u6237\u5b58\u5728\u4e14\u6240\u6709\u6570\u636e\u90fd\u5df2\u4fdd\u5b58\uff0c\u9700\u8981\u7acb\u5373\u5173\u95ed\u7cfb\u7edf\uff0c\u53ef\u4ee5\u4f7f\u7528poweroff\u547d\u4ee4\u3002 <\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>poweroff [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-n<\/td>\u5173\u95ed\u64cd\u4f5c\u7cfb\u7edf\u65f6\u4e0d\u6267\u884csync\u64cd\u4f5c<\/td><\/tr>
-w<\/td>\u4e0d\u771f\u6b63\u5173\u95ed\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4ec5\u5728\u65e5\u5fd7\u6587\u4ef6\u201c\/var\/log\/wtmp\u201d\u4e2d<\/td><\/tr>
-d<\/td>\u5173\u95ed\u64cd\u4f5c\u7cfb\u7edf\u65f6\uff0c\u4e0d\u5c06\u64cd\u4f5c\u5199\u5165\u65e5\u5fd7\u6587\u4ef6\u201c\/var\/log\/wtmp\u201d\u4e2d\u6dfb\u52a0\u76f8\u5e94\u7684\u8bb0\u5f55<\/td><\/tr>
-f<\/td>\u5f3a\u5236\u5173\u95ed\u64cd\u4f5c\u7cfb\u7edf<\/td><\/tr>
-i<\/td>\u5173\u95ed\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u524d\u5173\u95ed\u6240\u6709\u7684\u7f51\u7edc\u63a5\u53e3<\/td><\/tr>
-h<\/td>\u5173\u95ed\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u524d\u5c06\u7cfb\u7edf\u4e2d\u6240\u6709\u7684\u786c\u4ef6\u8bbe\u7f6e\u4e3a\u5907\u7528\u6a21\u5f0f<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b\uff1a<\/strong><\/p>\n\n\n\n

\u5173\u95ed\u8ba1\u7b97\u673a\u64cd\u4f5c\u7cfb\u7edf\u5e76\u4e14\u5207\u65ad\u7cfb\u7edf\u7535\u6e90\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# poweroff\n<\/pre>\n\n\n\n

\u4f7f\u7528-h\u53c2\u6570\u5173\u95ed\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u524d\u5c06\u7cfb\u7edf\u4e2d\u6240\u6709\u7684\u786c\u4ef6\u8bbe\u7f6e\u4e3a\u5907\u7528\u6a21\u5f0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# poweroff -h\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

poweroff\u547d\u4ee4\u7528\u6765\u5173\u95ed\u8ba1\u7b97\u673a\u64cd\u4f5c\u7cfb\u7edf\u5e76\u4e14\u5207\u65ad\u7cfb\u7edf\u7535\u6e90\u3002\u5982\u679c\u786e\u8ba4\u7cfb\u7edf\u4e2d\u5df2\u7ecf\u6ca1\u6709\u7528\u6237\u5b58\u5728\u4e14\u6240\u6709\u6570\u636e\u90fd\u5df2\u4fdd\u5b58\uff0c […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1720"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=1720"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1720\/revisions"}],"predecessor-version":[{"id":1864,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1720\/revisions\/1864"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=1720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=1720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=1720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}