{"id":220008,"date":"2021-06-17T10:13:20","date_gmt":"2021-06-17T02:13:20","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=220008"},"modified":"2021-06-04T09:26:23","modified_gmt":"2021-06-04T01:26:23","slug":"introduce-14-common","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/introduce-14-common.html","title":{"rendered":"\u63a8\u835014 \u4e2a\u5e38\u7528 Linux \u7ec8\u7aef\u5feb\u6377\u952e"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u7b80\u4ecb\uff1a\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6bcf\u4e2a Linux \u7528\u6237\u5fc5\u987b\u4f7f\u7528\u7684\u952e\u76d8\u5feb\u6377\u952e\u3002 \u4f7f\u7528\u547d\u4ee4\u884c\u65f6\uff0c\u8fd9\u4e9b Linux \u5feb\u6377\u952e\u5c06\u63d0\u5347\u4f60\u7684\u5de5\u4f5c\u6548\u7387\u548c\u6548\u7387\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u4f60\u77e5\u9053\u4ec0\u4e48\u628a\u4e13\u4e1a\u7528\u6237\u548c\u666e\u901a\u7528\u6237\u5206\u5f00\u7684\u5417\uff1f\u638c\u63e1\u952e\u76d8\u5feb\u6377\u952e\u3002\u597d\u7684\uff01\u8fd9\u867d\u4e0d\u662f\u552f\u4e00\u7684\u8981\u7d20\uff0c\u4f46\u6bcb\u5eb8\u7f6e\u7591\u662f\u4e00\u4e2a\u56e0\u7d20\u3002<\/p>\n

\u4e0d\u8bba\u4f60\u4f7f\u7528\u4ec0\u4e48\u5de5\u5177\uff0c\u5feb\u6377\u952e\u90fd\u80fd\u5e2e\u52a9\u4f60\u63d0\u9ad8\u751f\u4ea7\u529b\u548c\u6548\u7387\u3002 \u8003\u8651\u4e00\u4e0b\u3002\u5982\u679c\u6709\u4eba\u5b8c\u5168\u4f7f\u7528\u9f20\u6807\u6765\u590d\u5236\u6574\u4e2a\u6587\u672c\u800c\u4e0d\u662f Ctrl+A\uff0c\u4f60\u4f1a\u600e\u4e48\u60f3\uff1fLinux \u7ec8\u7aef\u4e5f\u4e0d\u4f8b\u5916\u3002\u8fd9\u91cc\u662f\u4e00\u4e9b\u6bcf\u4e2a\u7528\u6237\u5fc5\u987b\u76f4\u5230\u5e76\u7ec3\u4e60\u7684 Linux \u7ec8\u7aef\u5feb\u6377\u952e\u3002<\/p>\n

\"\"<\/p>\n

\u76f8\u4fe1\u6211\uff1b\u4e00\u65e6\u4f60\u638c\u63e1\u4e86\u8fd9\u4e9b\u5feb\u6377\u952e\uff0c\u4f60\u5c06\u53d1\u73b0\u4f7f\u7528 Linux \u547d\u4ee4\u884c\u6709\u591a\u4e48\u597d\u3002<\/p>\n

\u5fc5\u987b\u77e5\u9053\u7684 Linux \u5feb\u6377\u952e<\/strong><\/div>\n

\u6211\u60f3\u63d0\u4e00\u4e0b\u4e00\u4e9b\u5feb\u6377\u952e\u53ef\u80fd\u4f9d\u8d56\u4e8e\u4f60\u4f7f\u7528\u7684 Shell\u3002 Bash \u662f\u6700\u53d7\u6b22\u8fce\u7684 shell\uff0c\u6240\u4ee5\u5217\u51fa\u7684\u5feb\u6377\u952e\u96c6\u4e2d\u5728 Bash\u3002 \u5982\u679c\u4f60\u613f\u610f\uff0c\u4f60\u4e5f\u53ef\u4ee5\u79f0\u5176\u4e3a Bash \u5feb\u6377\u952e\u5217\u8868\u3002<\/p>\n

\u6ce8\u610f\u6211\u5728\u952e\u76d8\u5feb\u6377\u952e\u4e2d\u4f7f\u7528\u4e86\u5927\u5199\u5b57\u6bcd\uff0c\u4f46\u8fd9\u5e76\u4e0d\u610f\u5473\u7740\u4f60\u5728\u4f7f\u7528\u5feb\u6377\u952e\u65f6\u5fc5\u987b\u6309\u4e0b shift \u952e\u3002<\/p>\n

1. Tab<\/strong><\/span><\/div>\n

\u8fd9\u662f\u4f60\u4e0d\u80fd\u6ca1\u6709\u7684 Linux \u5feb\u6377\u952e\u3002\u5b83\u5c06\u8282\u7701\u4f60 Linux \u547d\u4ee4\u884c\u4e2d\u7684\u5927\u91cf\u65f6\u95f4\u3002\u53ea\u9700\u8981\u8f93\u5165\u4e00\u4e2a\u547d\u4ee4\uff0c\u6587\u4ef6\u540d\uff0c\u76ee\u5f55\u540d\u751a\u81f3\u662f\u547d\u4ee4\u9009\u9879\u7684\u5f00\u5934\uff0c\u5e76\u6572\u51fb tab \u952e\u3002 \u5b83\u5c06\u81ea\u52a8\u5b8c\u6210\u4f60\u8f93\u5165\u7684\u5185\u5bb9\uff0c\u6216\u4e3a\u4f60\u663e\u793a\u5168\u90e8\u53ef\u80fd\u7684\u7ed3\u679c\u3002\u5982\u679c\u4f60\u53ea\u8bb0\u4e00\u4e2a\u5feb\u6377\u952e\uff0c\u8fd9\u5c06\u662f\u5fc5\u9009\u7684\u4e00\u4e2a\u3002<\/p>\n

2. Ctrl + C<\/strong><\/span><\/div>\n

\u8fd9\u4e9b\u662f\u4e3a\u4e86\u5728\u7ec8\u7aef\u4e0a\u4e2d\u65ad\u547d\u4ee4\u6216\u8fdb\u7a0b\u8be5\u6309\u7684\u952e\u3002\u5b83\u5c06\u7acb\u523b\u7ec8\u6b62\u8fd0\u884c\u7684\u7a0b\u5e8f\u3002\u5982\u679c\u4f60\u60f3\u8981\u505c\u6b62\u4f7f\u7528\u4e00\u4e2a\u6b63\u5728\u540e\u53f0\u8fd0\u884c\u7684\u7a0b\u5e8f\uff0c\u53ea\u9700\u6309\u4e0b\u8fd9\u5bf9\u7ec4\u5408\u952e\u3002<\/p>\n

3. Ctrl + Z<\/strong><\/span><\/div>\n

\u8be5\u5feb\u6377\u952e\u5c06\u6b63\u5728\u8fd0\u884c\u7684\u7a0b\u5e8f\u9001\u5230\u540e\u53f0\u3002 \u901a\u5e38\uff0c\u4f60\u53ef\u4ee5\u5728\u4f7f\u7528 & \u9009\u9879\u8fd0\u884c\u7a0b\u5e8f\u524d\u4e4b\u5b8c\u6210\u8be5\u64cd\u4f5c\uff0c \u4f46\u662f\u5982\u679c\u4f60\u5fd8\u8bb0\u4f7f\u7528\u9009\u9879\u8fd0\u884c\u7a0b\u5e8f\uff0c\u5c31\u4f7f\u7528\u8fd9\u5bf9\u7ec4\u5408\u952e\u3002<\/p>\n

4. Ctrl + D<\/strong><\/span><\/div>\n

\u8fd9\u5bf9\u952e\u76d8\u5feb\u6377\u952e\u5c06\u4f7f\u4f60\u9000\u51fa\u5f53\u524d\u7ec8\u7aef\u3002\u5982\u679c\u4f60\u4f7f\u7528 SSH \u8fde\u63a5\uff0c\u5b83\u5c06\u4f1a\u5173\u95ed\u3002 \u5982\u679c\u4f60\u76f4\u63a5\u4f7f\u7528\u4e00\u4e2a\u7ec8\u7aef\uff0c\u8be5\u5e94\u7528\u5c06\u4f1a\u7acb\u523b\u5173\u95ed\u3002\u628a\u5b83\u5f53\u6210\u201c\u9000\u51fa\u201d\u547d\u4ee4\u3002<\/p>\n

5. Ctrl + L<\/strong><\/span><\/div>\n

\u4f60\u600e\u4e48\u6e05\u7a7a\u4f60\u7684\u7ec8\u7aef\u5c4f\u5e55\uff1f\u6211\u731c\u662f\u7528 clear \u547d\u4ee4\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528 Ctrl+L \u6e05\u7a7a\u7ec8\u7aef\uff0c\u4ee3\u66ff\u8f93\u5165 C-L-E-A-R\u3002\u5f97\u5fc3\u5e94\u624b\uff0c\u4e0d\u662f\u5417\uff1f<\/p>\n

6. Ctrl + A<\/strong><\/span><\/div>\n

\u8be5\u5feb\u6377\u952e\u5c06\u79fb\u52a8\u5149\u6807\u5230\u6240\u5728\u884c\u9996\u3002\u5047\u8bbe\u4f60\u5728\u7ec8\u7aef\u8f93\u5165\u4e86\u4e00\u4e2a\u5f88\u957f\u7684\u547d\u4ee4\u6216\u8def\u5f84\uff0c\u5e76\u4e14\u4f60\u60f3\u8981\u56de\u5230\u5b83\u7684\u5f00\u5934\uff0c \u4f7f\u7528\u65b9\u5411\u952e\u79fb\u52a8\u5149\u6807\u5c06\u82b1\u8d39\u5927\u91cf\u65f6\u95f4\u3002\u6ce8\u610f\u4f60\u65e0\u6cd5\u4f7f\u7528\u9f20\u6807\u79fb\u52a8\u5149\u6807\u5230\u884c\u9996\u3002\u8fd9\u662f Ctrl+A \u8282\u7701\u65f6\u95f4\u7684\u5730\u65b9\u3002<\/p>\n

7. Ctrl + E<\/strong><\/span><\/div>\n

\u8fd9\u5bf9\u5feb\u6377\u952e\u4e0e Ctrl+A \u76f8\u53cd\u3002 Ctrl+A \u9001\u5149\u6807\u5230\u884c\u9996\uff0c\u53cd\u4e4b Ctrl+E \u79fb\u52a8\u5149\u6807\u5230\u884c\u5c3e\u3002<\/p>\n

8. Ctrl + U<\/strong><\/span><\/div>\n

\u8f93\u5165\u4e86\u9519\u8bef\u7684\u547d\u4ee4\uff1f \u4ee3\u66ff\u7528\u9000\u683c\u952e\u6765\u4e22\u5f03\u5f53\u524d\u547d\u4ee4\uff0c\u4f7f\u7528 Linux \u7ec8\u7aef\u4e2d\u7684 Ctrl+U \u5feb\u6377\u952e\u3002 \u8be5\u5feb\u6377\u952e\u4f1a\u64e6\u9664\u4ece\u5f53\u524d\u5149\u6807\u4f4d\u7f6e\u5230\u884c\u9996\u7684\u5168\u90e8\u5185\u5bb9\u3002<\/p>\n

9. Ctrl + K<\/strong><\/span><\/div>\n

\u8fd9\u5bf9\u548c Ctrl+U \u5feb\u6377\u952e\u6709\u70b9\u50cf\u3002 \u552f\u4e00\u7684\u4e0d\u540c\u5728\u4e8e\u4e0d\u662f\u884c\u9996\uff0c\u5b83\u64e6\u9664\u7684\u662f\u4ece\u5f53\u524d\u5149\u6807\u4f4d\u7f6e\u5230\u884c\u5c3e\u7684\u5168\u90e8\u5185\u5bb9\u3002<\/p>\n

10. Ctrl + W<\/strong><\/span><\/div>\n

\u4f60\u521a\u624d\u4e86\u89e3\u4e86\u64e6\u9664\u5230\u884c\u9996\u548c\u884c\u5c3e\u7684\u6587\u672c\u3002 \u4f46\u5982\u679c\u4f60\u53ea\u9700\u8981\u5220\u9664\u4e00\u4e2a\u5355\u8bcd\u5462\uff1f\u4f7f\u7528 Ctrl+W \u5feb\u6377\u952e\u3002\u4f7f\u7528 Ctrl+W \u5feb\u6377\u952e\uff0c\u4f60\u53ef\u4ee5\u64e6\u9664\u5149\u6807\u4f4d\u7f6e\u524d\u7684\u5355\u8bcd\u3002 \u5982\u679c\u5149\u6807\u5728\u4e00\u4e2a\u5355\u8bcd\u672c\u8eab\u4e0a\uff0c\u5b83\u5c06\u64e6\u9664\u4ece\u5149\u6807\u4f4d\u7f6e\u5230\u8bcd\u9996\u7684\u5168\u90e8\u5b57\u6bcd\u3002\u6700\u597d\u7684\u65b9\u6cd5\u662f\u7528\u5b83\u79fb\u52a8\u5149\u6807\u5230\u8981\u5220\u9664\u5355\u8bcd\u540e\u7684\u4e00\u4e2a\u7a7a\u683c\u4e0a\uff0c \u7136\u540e\u4f7f\u7528 Ctrl+W \u952e\u76d8\u5feb\u6377\u952e\u3002<\/p>\n

11. Ctrl + Y<\/strong><\/span><\/div>\n

\u8fd9\u5c06\u7c98\u8d34\u4f7f\u7528 Ctrl+W\uff0cCtrl+U \u548c Ctrl+K \u5feb\u6377\u952e\u64e6\u9664\u7684\u6587\u672c\u3002 \u5982\u679c\u4f60\u5220\u9664\u4e86\u9519\u8bef\u7684\u6587\u672c\u6216\u9700\u8981\u5728\u67d0\u5904\u4f7f\u7528\u5df2\u64e6\u9664\u7684\u6587\u672c\uff0c\u8fd9\u5c06\u6d3e\u4e0a\u7528\u573a\u3002<\/p>\n

12. Ctrl + P<\/strong><\/span><\/div>\n

\u4f60\u53ef\u4ee5\u4f7f\u7528\u8be5\u5feb\u6377\u952e\u6765\u67e5\u770b\u4e0a\u4e00\u4e2a\u547d\u4ee4\u3002 \u4f60\u53ef\u4ee5\u53cd\u590d\u6309\u8be5\u952e\u6765\u8fd4\u56de\u5230\u5386\u53f2\u547d\u4ee4\u3002 \u5728\u5f88\u591a\u7ec8\u7aef\u91cc\uff0c\u4f7f\u7528 PgUp \u952e\u6765\u5b9e\u73b0\u76f8\u540c\u7684\u529f\u80fd\u3002<\/p>\n

13. Ctrl + N<\/strong><\/span><\/div>\n

\u4f60\u53ef\u4ee5\u7ed3\u5408 Ctrl+P \u4f7f\u7528\u8be5\u5feb\u6377\u952e\u3002Ctrl+N \u663e\u793a\u4e0b\u4e00\u4e2a\u547d\u4ee4\u3002 \u5982\u679c\u4f7f\u7528 Ctrl+P \u67e5\u770b\u4e0a\u4e00\u6761\u547d\u4ee4\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 Ctrl+N \u6765\u56de\u5bfc\u822a\u3002 \u8bb8\u591a\u7ec8\u7aef\u90fd\u628a\u6b64\u5feb\u6377\u952e\u6620\u5c04\u5230 PgDn \u952e\u3002<\/p>\n

14. Ctrl + R<\/strong><\/span><\/div>\n

\u4f60\u53ef\u4ee5\u4f7f\u7528\u8be5\u5feb\u6377\u952e\u6765\u641c\u7d22\u5386\u53f2\u547d\u4ee4\u3002<\/p>\n

\u4f60\u6700\u559c\u6b22\u7684 Linux \u7ec8\u7aef\u5feb\u6377\u952e\u662f\u4ec0\u4e48\uff1f<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"

\u4f60\u77e5\u9053\u4ec0\u4e48\u628a\u4e13\u4e1a\u7528\u6237\u548c\u666e\u901a\u7528\u6237\u5206\u5f00\u7684\u5417\uff1f\u638c\u63e1\u952e\u76d8\u5feb\u6377\u952e\u3002\u597d\u7684\uff01\u8fd9\u867d\u4e0d\u662f\u552f\u4e00\u7684\u8981\u7d20\uff0c\u4f46\u6bcb\u5eb8\u7f6e\u7591\u662f\u4e00\u4e2a\u56e0\u7d20\u3002 \u4e0d\u8bba […]<\/p>\n","protected":false},"author":310,"featured_media":220020,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-220008","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/220008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/310"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=220008"}],"version-history":[{"count":12,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/220008\/revisions"}],"predecessor-version":[{"id":220095,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/220008\/revisions\/220095"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/220020"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=220008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=220008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=220008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}