{"id":6731,"date":"2020-03-18T14:23:33","date_gmt":"2020-03-18T06:23:33","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6731"},"modified":"2020-05-23T21:27:18","modified_gmt":"2020-05-23T13:27:18","slug":"ctrlaltdel","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/ctrlaltdel","title":{"rendered":"ctrlaltdel\u547d\u4ee4 – \u8bbe\u7f6eCtrl+Alt+Del\u7ec4\u5408\u952e\u7684\u529f\u80fd"},"content":{"rendered":"\n

ctrlaltdel\u547d\u4ee4\u4f5c\u7528\u662f\u8bbe\u7f6e\u6309Ctrl+Alt+Del\u7ec4\u5408\u952e\u7684\u529f\u80fd\u3002<\/p>\n\n\n\n

ctrlaltdel\u6709\u4e24\u4e2a\u652f\u6301\u7684\u529f\u80fd\uff1ahard\u548csoft\u3002hard\u4e3a\u786c\u590d\u4f4d\uff0c\u7acb\u5373\u91cd\u65b0\u542f\u52a8\u8ba1\u7b97\u673a\u800c\u65e0\u9700\u8c03\u7528sync\u3002soft\u4e3a\u8f6f\u590d\u4f4d\uff0c\u5b83\u53d1\u9001SIGINT\uff08\u4e2d\u65ad\uff09\u4fe1\u53f7\u7ed9init\u8fdb\u7a0b\u3002\u5982\u679c\u4f7f\u7528soft\uff0cinit\u7a0b\u5e8f\u5fc5\u987b\u652f\u6301\u6b64\u9879\u529f\u80fd\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f :<\/strong> ctrlaltdel [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

hard<\/td>\u786c\u590d\u4f4d\uff0c\u7acb\u5373\u6267\u884c\u91cd\u65b0\u542f\u52a8\u64cd\u4f5c\u7cfb\u7edf<\/td><\/tr>
soft<\/td>\u8f6f\u590d\u4f4d\uff0c\u5411init\u8fdb\u7a0b\u53d1\u9001SIGINT\uff08interrupt\uff09\u4fe1\u53f7\uff0c\u7531init\u8fdb\u7a0b\u6267\u884c\u5173\u673a<\/td><\/tr>
-h<\/td>\u663e\u793a\u6b64\u5e2e\u52a9\u5e76\u9000\u51fa<\/td><\/tr>
-v<\/td>\u8f93\u51fa\u7248\u672c\u4fe1\u606f\u5e76\u9000\u51fa<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u8bbe\u7f6e\u6309\u952eCtrl+Alt+Del\u7ec4\u5408\u952e\u7684\u529f\u80fd\u4e3ahard\uff1a<\/p>\n\n\n\n

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

\u7531init\u8fdb\u7a0b\u5904\u7406\u5173\u673a\u64cd\u4f5c\uff1a<\/p>\n\n\n\n

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

\u67e5\u770b\u547d\u4ee4\u7248\u672c\uff1a<\/p>\n\n\n\n

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

ctrlaltdel\u547d\u4ee4\u4f5c\u7528\u662f\u8bbe\u7f6e\u6309Ctrl+Alt+Del\u7ec4\u5408\u952e\u7684\u529f\u80fd\u3002 ctrlaltdel\u6709\u4e24\u4e2a\u652f\u6301\u7684\u529f […]<\/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\/6731"}],"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=6731"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6731\/revisions"}],"predecessor-version":[{"id":7378,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6731\/revisions\/7378"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}