{"id":2459,"date":"2019-05-26T00:29:29","date_gmt":"2019-05-25T16:29:29","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2459"},"modified":"2019-05-26T00:29:31","modified_gmt":"2019-05-25T16:29:31","slug":"reset","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/reset","title":{"rendered":"reset\u547d\u4ee4 – \u8bbe\u5b9a\u7ec8\u7aef\u673a\u7684\u72b6\u6001"},"content":{"rendered":"\n
Linux reset\u547d\u4ee4\u5176\u5b9e\u548c tset \u662f\u4e00\u540c\u4e2a\u547d\u4ee4\uff0c\u5b83\u7684\u7528\u9014\u662f\u8bbe\u5b9a\u7ec8\u7aef\u673a\u7684\u72b6\u6001\u3002\u4e00\u822c\u800c\u8a00\uff0c\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u81ea\u52a8\u7684\u4ece\u73af\u5883\u53d8\u6570\u3001\u547d\u4ee4\u5217\u6216\u662f\u5176\u5b83\u7684\u7ec4\u6001\u6863\u51b3\u5b9a\u76ee\u524d\u7ec8\u7aef\u673a\u7684\u578b\u6001\u3002\u5982\u679c\u6307\u5b9a\u578b\u6001\u662f ‘?’ \u7684\u8bdd\uff0c\u8fd9\u4e2a\u7a0b\u5e8f\u4f1a\u8981\u6c42\u4f7f\u7528\u8005\u8f93\u5165\u7ec8\u7aef\u673a\u7684\u578b\u522b\u3002<\/p>\n\n\n\n
\u7531\u4e8e\u8fd9\u4e2a\u7a0b\u5e8f\u4f1a\u5c06\u7ec8\u7aef\u673a\u8bbe\u56de\u539f\u59cb\u7684\u72b6\u6001\uff0c\u9664\u4e86\u5728 login \u65f6\u4f7f\u7528\u5916\uff0c\u5f53\u7cfb\u7edf\u7ec8\u7aef\u673a\u56e0\u4e3a\u7a0b\u5e8f\u4e0d\u6b63\u5e38\u6267\u884c\u800c\u8fdb\u5165\u4e00\u4e9b\u5947\u602a\u7684\u72b6\u6001\u65f6\uff0c\u4f60\u4e5f\u53ef\u4ee5\u7528\u5b83\u6765\u91cd\u8bbe\u7ec8\u7aef\u673ao \u4f8b\u5982\u4e0d\u5c0f\u5fc3\u628a\u4e8c\u8fdb\u4f4d\u6863\u7528 cat \u6307\u4ee4\u8fdb\u5230\u7ec8\u7aef\u673a\uff0c\u5e38\u4f1a\u6709\u7ec8\u7aef\u673a\u4e0d\u518d\u56de\u5e94\u952e\u76d8\u8f93\u5165\uff0c\u6216\u662f\u56de\u5e94\u4e00\u4e9b\u5947\u602a\u5b57\u5143\u7684\u95ee\u9898\u3002\u6b64\u65f6\u5c31\u53ef\u4ee5\u7528 reset \u5c06\u7ec8\u7aef\u673a\u56de\u590d\u81f3\u539f\u59cb\u72b6\u6001\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>reset [\u53c2\u6570] <\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u8ba9\u4f7f\u7528\u8005\u8f93\u5165\u4e00\u4e2a\u7ec8\u7aef\u673a\u578b\u522b\u5e76\u5c06\u7ec8\u7aef\u673a\u8bbe\u5230\u8be5\u578b\u522b\u7684\u9884\u8bbe\u72b6\u6001\uff1a <\/p>\n\n\n\n \u5c06 erase \u5b57\u5143\u8bbe\u5b9a control-h\uff1a <\/p>\n\n\n\n \u5c06\u8bbe\u5b9a\u7528\u7684\u5b57\u4e32\u663e\u793a\u5728\u5c4f\u5e55\u4e0a\uff1a<\/p>\n\n\n\n Linux reset\u547d\u4ee4\u5176\u5b9e\u548c tset \u662f\u4e00\u540c\u4e2a\u547d\u4ee4\uff0c\u5b83\u7684\u7528\u9014\u662f\u8bbe\u5b9a\u7ec8\u7aef\u673a\u7684\u72b6\u6001\u3002\u4e00\u822c\u800c\u8a00\uff0c\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u81ea\u52a8 […]<\/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\/2459"}],"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=2459"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2459\/revisions"}],"predecessor-version":[{"id":2516,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2459\/revisions\/2516"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}--help <\/td> \u5728\u7ebf\u5e2e\u52a9 <\/td><\/tr> --vesion <\/td> \u663e\u793a\u7248\u672c\u4fe1\u606f <\/td><\/tr> -p<\/td> \u5c06\u7ec8\u7aef\u673a\u7c7b\u522b\u663e\u793a\u5728\u5c4f\u5e55\u4e0a\uff0c\u4f46\u4e0d\u505a\u8bbe\u5b9a\u7684\u52a8\u4f5c\u3002\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u7528\u6765\u53d6\u5f97\u76ee\u524d\u7ec8\u7aef\u673a\u7684\u7c7b\u522b <\/td><\/tr> -e ch<\/td> \u5c06 erase \u5b57\u5143\u8bbe\u6210 ch <\/td><\/tr> -i ch <\/td> \u5c06\u4e2d\u65ad\u5b57\u5143\u8bbe\u6210 ch <\/td><\/tr> -k ch<\/td> \u5c06\u5220\u9664\u4e00\u884c\u7684\u5b57\u5143\u8bbe\u6210 ch <\/td><\/tr> -l<\/td> \u4e0d\u8981\u505a\u8bbe\u5b9a\u7684\u52a8\u4f5c\uff0c\u5982\u679c\u6ca1\u6709\u4f7f\u7528\u9009\u9879 -Q \u7684\u8bdd\uff0cerase\u3001\u4e2d\u65ad\u53ca\u5220\u9664\u5b57\u5143\u7684\u76ee\u524d\u503c\u4f9d\u7136\u4f1a\u9001\u5230\u5c4f\u5e55\u4e0a <\/td><\/tr> -Q<\/td> \u4e0d\u8981\u663e\u793a erase\u3001\u4e2d\u65ad\u53ca\u5220\u9664\u5b57\u5143\u7684\u503c\u5230\u5c4f\u5e55\u4e0a <\/td><\/tr> -r<\/td> \u5c06\u7ec8\u7aef\u673a\u7c7b\u522b\u5370\u5728\u5c4f\u5e55\u4e0a <\/td><\/tr> -s<\/td> \u5c06\u8bbe\u5b9a TERM \u7528\u7684\u547d\u4ee4\u7528\u5b57\u4e32\u7684\u578b\u5f0f\u9001\u5230\u7ec8\u7aef\u673a\u4e2d\uff0c\u901a\u5e38\u5728 .login \u6216 .profile \u4e2d\u7528 <\/td><\/tr><\/tbody><\/table>\n\n\n\n [root@linuxcool ~]# reset ? <\/pre>\n\n\n\n
[root@linuxcool ~]# reset -e ^B <\/pre>\n\n\n\n
[root@linuxcool ~]# reset -s<\/pre>\n","protected":false},"excerpt":{"rendered":"