{"id":65405,"date":"2026-01-24T23:04:27","date_gmt":"2026-01-24T15:04:27","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/65405.html"},"modified":"2026-01-24T23:04:27","modified_gmt":"2026-01-24T15:04:27","slug":"linux-3-%e6%8c%87%e4%bb%a43%e8%bf%9b%e9%98%b6%e6%8c%87%e4%bb%a4%e6%96%87%e4%bb%b6%e6%9f%a5%e7%9c%8b%e3%80%81%e8%b5%84%e6%ba%90%e7%ae%a1%e7%90%86%e3%80%81%e6%90%9c%e7%b4%a2%e6%89%93%e5%8c%85","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/65405.html","title":{"rendered":"Linux 3 \u6307\u4ee4(3):\u8fdb\u9636\u6307\u4ee4:\u6587\u4ef6\u67e5\u770b\u3001\u8d44\u6e90\u7ba1\u7406\u3001\u641c\u7d22\u6253\u5305\u538b\u7f29\u8be6\u89e3"},"content":{"rendered":"<p style=\"text-align:center\">&#x1f525;\u4e2a\u4eba\u4e3b\u9875&#xff1a;Milestone-\u91cc\u7a0b\u7891<\/p>\n<p style=\"text-align:center\">\u2744\ufe0f\u4e2a\u4eba\u4e13\u680f:\u00a0&lt;&lt;\u529b\u6263hot100&gt;&gt;\u00a0&lt;&lt;C&#043;&#043;&gt;&gt;&lt;&lt;Linux&gt;&gt;<\/p>\n<p style=\"text-align:center\">\u00a0 \u00a0 \u00a0 \u00a0&lt;&lt;Git&gt;&gt;&lt;&lt;MySQL&gt;&gt;<\/p>\n<p style=\"text-align:center\">&#x1f31f;\u5fc3\u5411\u5f80\u4e4b\u884c\u5fc5\u80fd\u81f3<\/p>\n<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E4%B8%80.%20%E6%96%87%E4%BB%B6%E5%86%85%E5%AE%B9%E6%93%8D%E4%BD%9C-toc\" style=\"margin-left:0px\">\u4e00. \u6587\u4ef6\u5185\u5bb9\u64cd\u4f5c<\/p>\n<p id=\"1.1%C2%A0cat%26%26tac%20%3A%C2%A0%20%C2%A0%E6%AD%A3%E5%BA%8F%2F%E5%80%92%E5%BA%8F%E6%9F%A5%E7%9C%8B%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">1.1\u00a0cat&amp;&amp;tac :\u00a0 \u00a0\u6b63\u5e8f\/\u5012\u5e8f\u67e5\u770b\u6587\u4ef6<\/p>\n<p id=\"1.2%20nano%3A%E7%AE%80%E5%8D%95%E6%98%93%E7%94%A8%E7%9A%84%E5%91%BD%E4%BB%A4%E8%A1%8C%E6%96%87%E6%9C%AC%E7%BC%96%E8%BE%91%E5%99%A8-toc\" style=\"margin-left:40px\">1.2 nano:\u7b80\u5355\u6613\u7528\u7684\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668<\/p>\n<p id=\"1.2.1%E5%B8%B8%E7%94%A8%E5%BF%AB%E6%8D%B7%E9%94%AE-toc\" style=\"margin-left:80px\">1.2.1\u5e38\u7528\u5feb\u6377\u952e<\/p>\n<p id=\"1.2.2%E9%AB%98%E7%BA%A7%E5%8A%9F%E8%83%BD-toc\" style=\"margin-left:80px\">1.2.2\u9ad8\u7ea7\u529f\u80fd<\/p>\n<p id=\"1.2.3%E9%80%82%E7%94%A8%E5%9C%BA%E6%99%AF%EF%BC%9A-toc\" style=\"margin-left:80px\">1.2.3\u9002\u7528\u573a\u666f&#xff1a;<\/p>\n<p id=\"1.3%20more%26%26less%E6%8C%87%E4%BB%A4%20%E6%9F%A5%E7%9C%8B%E5%A4%A7%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">1.3 more&amp;&amp;less\u6307\u4ee4 \u67e5\u770b\u5927\u6587\u4ef6<\/p>\n<p id=\"1.3.1%20more%3A%E5%8F%AA%E5%8F%AF%E5%89%8D%E8%BF%9B%E4%B8%8D%E5%8F%AF%E5%90%8E%E9%80%80%E5%9C%B0%E6%9F%A5%E7%9C%8B-toc\" style=\"margin-left:80px\">1.3.1 more:\u53ea\u53ef\u524d\u8fdb\u4e0d\u53ef\u540e\u9000\u5730\u67e5\u770b<\/p>\n<p id=\"1.3.2%20less%3A%E5%8F%AF%E5%89%8D%E8%BF%9B%E5%90%8E%E9%80%80%2C%E6%8E%A8%E8%8D%90-toc\" style=\"margin-left:80px\">1.3.2 less:\u53ef\u524d\u8fdb\u540e\u9000,\u63a8\u8350<\/p>\n<p id=\"1.4%20head%26%26tail%E6%8C%87%E4%BB%A4%3A%E6%9F%A5%E7%9C%8B%E5%BC%80%E5%A4%B4%E6%88%96%E7%BB%93%E5%B0%BE%E7%9A%84%E6%96%87%E5%AD%97%E5%8C%BA%E5%9D%97-toc\" style=\"margin-left:40px\">1.4 head&amp;&amp;tail\u6307\u4ee4:\u67e5\u770b\u5f00\u5934\u6216\u7ed3\u5c3e\u7684\u6587\u5b57\u533a\u5757<\/p>\n<p id=\"1.4.1%20head%3A%E6%9F%A5%E7%9C%8B%E5%BC%80%E5%A4%B4%E7%9A%84%E6%96%87%E5%AD%97%E5%8C%BA%E5%9D%97(%E5%8F%AF%E6%8C%87%E5%AE%9A%E5%8C%BA%E5%9F%9F)-toc\" style=\"margin-left:80px\">1.4.1 head:\u67e5\u770b\u5f00\u5934\u7684\u6587\u5b57\u533a\u5757(\u53ef\u6307\u5b9a\u533a\u57df)<\/p>\n<p id=\"1.4.2%20tail%3A%E6%9F%A5%E7%9C%8B%E7%BB%93%E5%B0%BE%E7%9A%84%E6%96%87%E5%AD%97%E5%8C%BA%E5%9D%97-toc\" style=\"margin-left:80px\">1.4.2 tail:\u67e5\u770b\u7ed3\u5c3e\u7684\u6587\u5b57\u533a\u5757<\/p>\n<p id=\"1.4.3%20head%E4%B8%8Etail%E7%BB%84%E5%90%88%E4%BD%BF%E7%94%A8%2C%E6%9F%A5%E6%89%BE%E4%B8%AD%E9%97%B4%E5%8C%BA%E5%9F%9F-toc\" style=\"margin-left:80px\">1.4.3 head\u4e0etail\u7ec4\u5408\u4f7f\u7528,\u67e5\u627e\u4e2d\u95f4\u533a\u57df<\/p>\n<p id=\"1.4.4%20%7C(%E7%AE%A1%E9%81%93)%E4%BD%BFhead%20tail%E7%AD%89%E6%8C%87%E4%BB%A4%E5%8F%AF%E4%BB%A5%E7%81%B5%E6%B4%BB%E6%90%AD%E9%85%8D%E4%BD%BF%E7%94%A8-toc\" style=\"margin-left:80px\">1.4.4 |(\u7ba1\u9053)\u4f7fhead tail\u7b49\u6307\u4ee4\u53ef\u4ee5\u7075\u6d3b\u642d\u914d\u4f7f\u7528<\/p>\n<p id=\"%E4%BA%8C.%20%E6%97%B6%E9%97%B4%E4%B8%8E%E6%97%A5%E5%8E%86-toc\" style=\"margin-left:0px\">\u4e8c. \u65f6\u95f4\u4e0e\u65e5\u5386<\/p>\n<p id=\"1.1%20date%3A%E6%9F%A5%E7%9C%8B%E6%97%B6%E9%97%B4-toc\" style=\"margin-left:40px\">1.1 date:\u67e5\u770b\u65f6\u95f4<\/p>\n<p id=\"1.1.1%E5%B0%8F%E7%9F%A5%E8%AF%86%3A%E7%94%B5%E8%84%91%E6%97%B6%E9%97%B4%E6%80%BB%E6%98%AF%E6%98%AF%E5%87%86%E7%A1%AE%E7%9A%84-toc\" style=\"margin-left:80px\">1.1.1\u5c0f\u77e5\u8bc6:\u7535\u8111\u65f6\u95f4\u603b\u662f\u662f\u51c6\u786e\u7684<\/p>\n<p id=\"1.2%20cal%20%E6%9F%A5%E6%89%BE%E6%97%A5%E5%8E%86-toc\" style=\"margin-left:40px\">1.2 cal \u67e5\u627e\u65e5\u5386<\/p>\n<p id=\"-toc\" style=\"margin-left:40px\">\n<p id=\"%C2%A0%E4%B8%89.%20%E6%90%9C%E7%B4%A2%E6%8C%87%E4%BB%A4%3A%E9%AB%98%E6%95%88%E5%87%86%E7%A1%AE%E5%9C%B0%E6%9F%A5%E6%89%BE%E4%BD%8D%E7%BD%AE-toc\" style=\"margin-left:0px\">\u00a0\u4e09. \u641c\u7d22\u6307\u4ee4:\u9ad8\u6548\u51c6\u786e\u5730\u67e5\u627e\u4f4d\u7f6e<\/p>\n<p id=\"1.1%20find%20%3A%E5%9C%A8%E7%9B%AE%E5%BD%95%E4%B8%AD%E5%87%86%E7%A1%AE%E6%9F%A5%E6%89%BE%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">1.1 find :\u5728\u76ee\u5f55\u4e2d\u51c6\u786e\u67e5\u627e\u6587\u4ef6<\/p>\n<p id=\"1.2%20whereis%3A%E6%9F%A5%E6%89%BE%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">1.2 whereis:\u67e5\u627e\u4e8c\u8fdb\u5236\u6587\u4ef6<\/p>\n<p id=\"1.3%20grep%3A%E6%9F%A5%E6%89%BE%E5%AD%97%E7%AC%A6%E4%B8%B2%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">1.3 grep:\u67e5\u627e\u5b57\u7b26\u4e32\u6587\u4ef6<\/p>\n<p id=\"%E6%80%BB%E7%BB%93%3A-toc\" style=\"margin-left:0px\">\u603b\u7ed3:<\/p>\n<hr id=\"hr-toc\" \/>\n<p style=\"text-align:center\">\n<h2 id=\"%E4%B8%80.%20%E6%96%87%E4%BB%B6%E5%86%85%E5%AE%B9%E6%93%8D%E4%BD%9C\">\u4e00. \u6587\u4ef6\u5185\u5bb9\u64cd\u4f5c<\/h2>\n<h3 id=\"1.1%C2%A0cat%26%26tac%20%3A%C2%A0%20%C2%A0%E6%AD%A3%E5%BA%8F%2F%E5%80%92%E5%BA%8F%E6%9F%A5%E7%9C%8B%E6%96%87%E4%BB%B6\">1.1\u00a0cat&amp;&amp;tac :\u00a0 \u00a0\u6b63\u5e8f\/\u5012\u5e8f\u67e5\u770b\u6587\u4ef6<\/h3>\n<p>cat<\/p>\n<p> <span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; <\/span><br \/>\n <span style=\"color:#1f2329\">cat [<\/span><br \/>\n <span style=\"color:#1f2329\">\u9009\u9879<\/span><br \/>\n <span style=\"color:#1f2329\">] [<\/span><br \/>\n <span style=\"color:#1f2329\">\u2f42\u4ef6<\/span><br \/>\n <span style=\"color:#1f2329\">]\u00a0 (tac\u5373\u9006\u5e8f\u67e5\u627e,\u8ddfcat\u7528\u6cd5\u76f8\u4f3c,\u6b64\u5904\u4e0d\u591a\u8bb2)<\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a; \u67e5\u770b\u2f6c\u6807\u2f42\u4ef6\u7684\u5185\u5bb9 <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u5e38\u2f64\u9009\u9879&#xff1a; <\/span><\/p>\n<p> <span style=\"color:#646a73\">-b \u5bf9\u2fae\u7a7a\u8f93\u51fa\u2f8f\u7f16\u53f7&#xff0c;\u7a7a\u2f8f\u4e0d\u505a\u7f16\u53f7 <\/span><\/p>\n<p> <span style=\"color:#646a73\">-n \u5bf9\u8f93\u51fa\u7684\u6240\u6709\u2f8f\u7f16\u53f7 <\/span><\/p>\n<p> <span style=\"color:#646a73\">-s \u4e0d\u8f93\u51fa\u591a\u2f8f\u7a7a\u2f8f<\/span><\/p>\n<p> # \u547d\u4ee4\u2f8f\u6784\u5efa\u591a\u2f8f\u2f42\u672c<br \/>\nroot&#064;hcss-ecs-1cde:\/dir# cnt&#061;0; while [ $cnt -le 20 ]; do echo &#034;hello Milestone&#034;; let cnt&#043;&#043;; done &gt; temp.txt<\/p>\n<p># \u6d4b\u8bd5cat\u57fa\u672c\u547d\u4ee4<br \/>\nroot&#064;hcss-ecs-1cde:\/dir# cat temp.txt<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<\/p>\n<p># cat \u8f93\u51fa\u643a\u5e26\u2f8f\u53f7<br \/>\nroot&#064;hcss-ecs-1cde:\/dir# cat -n temp.txt<br \/>\n     1hello Milestone<br \/>\n     2hello Milestone<br \/>\n     3hello Milestone<br \/>\n     4hello Milestone<br \/>\n     5hello Milestone<br \/>\n     6hello Milestone<br \/>\n     7hello Milestone<br \/>\n     8hello Milestone<br \/>\n     9hello Milestone<br \/>\n    10hello Milestone<br \/>\n    11hello Milestone<br \/>\n    12hello Milestone<br \/>\n    13hello Milestone<br \/>\n    14hello Milestone<br \/>\n    15hello Milestone<br \/>\n    16hello Milestone<br \/>\n    17hello Milestone<br \/>\n    18hello Milestone<br \/>\n    19hello Milestone<br \/>\n    20hello Milestone<br \/>\n    21hello Milestone<\/p>\n<p># \u4fee\u6539temp.txt&#xff0c;\u4f7f\u5176\u643a\u5e26\u591a\u2f8f\u7a7a\u2f8f(\u540e\u9762nano\u4f1a\u8bb2\u7528\u6cd5)<br \/>\nroot&#064;hcss-ecs-1cde:\/dir# nano temp.txt<br \/>\nroot&#064;hcss-ecs-1cde:\/dir# cat temp.txt<br \/>\nhello Milestone<\/p>\n<p>hello Milestone<br \/>\nhello Milestone<\/p>\n<p>hello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<\/p>\n<p>hello Milestone<\/p>\n<p>hello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<\/p>\n<p># \u6d4b\u8bd5 -b \u5bf9\u2fae\u7a7a\u8f93\u51fa\u2f8f\u7f16\u53f7<br \/>\nroot&#064;hcss-ecs-1cde:\/dir# cat -b temp.txt<br \/>\n     1hello Milestone<\/p>\n<p>     2hello Milestone<br \/>\n     3hello Milestone<\/p>\n<p>     4hello Milestone<br \/>\n     5hello Milestone<br \/>\n     6hello Milestone<\/p>\n<p>     7hello Milestone<\/p>\n<p>     8hello Milestone<br \/>\n     9hello Milestone<br \/>\n    10hello Milestone<br \/>\n    11hello Milestone<br \/>\n    12hello Milestone<br \/>\n    13hello Milestone<br \/>\n    14hello Milestone<br \/>\n    15hello Milestone<br \/>\n    16hello Milestone<br \/>\n    17hello Milestone<br \/>\n    18hello Milestone<br \/>\n    19hello Milestone<br \/>\n    20hello Milestone<br \/>\n    21hello Milestone<\/p>\n<p># \u6d4b\u8bd5-n \u5bf9\u8f93\u51fa\u7684\u6240\u6709\u2f8f\u7f16\u53f7<br \/>\nroot&#064;hcss-ecs-1cde:\/dir# cat -n temp.txt<br \/>\n     1hello Milestone<br \/>\n     2<br \/>\n     3hello Milestone<br \/>\n     4hello Milestone<br \/>\n     5<br \/>\n     6<br \/>\n     7hello Milestone<br \/>\n     8hello Milestone<br \/>\n     9hello Milestone<br \/>\n    10<br \/>\n    11<br \/>\n    12<br \/>\n    13hello Milestone<br \/>\n    14<br \/>\n    15hello Milestone<br \/>\n    16hello Milestone<br \/>\n    17hello Milestone<br \/>\n    18hello Milestone<br \/>\n    19hello Milestone<br \/>\n    20hello Milestone<br \/>\n    21hello Milestone<br \/>\n    22hello Milestone<br \/>\n    23hello Milestone<br \/>\n    24hello Milestone<br \/>\n    25hello Milestone<br \/>\n    26hello Milestone<br \/>\n    27hello Milestone<br \/>\n    28hello Milestone<\/p>\n<p># \u6d4b\u8bd5 -s \u4e0d\u8f93\u51fa\u591a\u2f8f\u7a7a\u2f8f&#xff0c;\u591a\u2f8f\u7a7a\u2f8f\u538b\u7f29\u6210\u4e3a\u2f00\u2f8f<br \/>\nroot&#064;hcss-ecs-1cde:\/dir# cat -s temp.txt<br \/>\nhello Milestone<\/p>\n<p>hello Milestone<br \/>\nhello Milestone<\/p>\n<p>hello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<\/p>\n<p>hello Milestone<\/p>\n<p>hello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<br \/>\nhello Milestone<\/p>\n<h3 id=\"1.2%20nano%3A%E7%AE%80%E5%8D%95%E6%98%93%E7%94%A8%E7%9A%84%E5%91%BD%E4%BB%A4%E8%A1%8C%E6%96%87%E6%9C%AC%E7%BC%96%E8%BE%91%E5%99%A8\">1.2 nano:\u7b80\u5355\u6613\u7528\u7684\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668<\/h3>\n<p>\u529f\u80fd:\u652f\u6301\u57fa\u672c\u7f16\u8f91\u64cd\u4f5c,\u8db3\u4ee5\u5e94\u4ed8\u65e5\u5e38\u4f7f\u7528<\/p>\n<p>\u8bed\u6cd5: nano \u6587\u4ef6\u540d<\/p>\n<h4 id=\"1.2.1%E5%B8%B8%E7%94%A8%E5%BF%AB%E6%8D%B7%E9%94%AE\">1.2.1\u5e38\u7528\u5feb\u6377\u952e<\/h4>\n<p>Nano \u7684\u5feb\u6377\u952e\u4ee5\u00a0^&#xff08;\u4ee3\u8868\u00a0Ctrl&#xff09;\u6216\u00a0M-&#xff08;\u4ee3\u8868\u00a0Alt&#xff09;\u5f00\u5934&#xff0c;\u663e\u793a\u5728\u5c4f\u5e55\u5e95\u90e8\u3002<\/p>\n<ul>\n<li>\u4fdd\u5b58\u6587\u4ef6&#xff1a;Ctrl &#043; O&#xff0c;\u6309\u00a0Enter\u00a0\u786e\u8ba4\u6587\u4ef6\u540d\u3002<\/li>\n<li>\u9000\u51fa Nano&#xff1a;Ctrl &#043; X&#xff0c;\u5982\u679c\u6587\u4ef6\u672a\u4fdd\u5b58\u4f1a\u63d0\u793a\u4fdd\u5b58\u3002<\/li>\n<li>\u641c\u7d22\u6587\u672c&#xff1a;Ctrl &#043; W&#xff0c;\u8f93\u5165\u641c\u7d22\u8bcd\u540e\u6309\u00a0Enter\u3002<\/li>\n<li>\u66ff\u6362\u6587\u672c&#xff1a;Ctrl &#043; \\\\&#xff0c;\u8f93\u5165\u641c\u7d22\u8bcd\u548c\u66ff\u6362\u8bcd&#xff0c;\u6309\u00a0Enter\u00a0\u9010\u4e2a\u66ff\u6362\u6216\u00a0A\u00a0\u5168\u90e8\u66ff\u6362\u3002<\/li>\n<\/ul>\n<h4 id=\"1.2.2%E9%AB%98%E7%BA%A7%E5%8A%9F%E8%83%BD\">1.2.2\u9ad8\u7ea7\u529f\u80fd<\/h4>\n<ul>\n<li>\u526a\u5207\/\u7c98\u8d34\u884c&#xff1a;\n<ul>\n<li>\u526a\u5207\u5f53\u524d\u884c&#xff1a;Ctrl &#043; K<\/li>\n<li>\u7c98\u8d34&#xff1a;Ctrl &#043; U<\/li>\n<\/ul>\n<\/li>\n<li>\u8df3\u8f6c\u5230\u884c\u53f7&#xff1a;Ctrl &#043; _&#xff0c;\u8f93\u5165\u884c\u53f7\u540e\u6309\u00a0Enter\u3002<\/li>\n<li>\u8bed\u6cd5\u9ad8\u4eae&#xff1a;Nano \u652f\u6301\u90e8\u5206\u8bed\u8a00\u7684\u8bed\u6cd5\u9ad8\u4eae<\/li>\n<\/ul>\n<h4 id=\"1.2.3%E9%80%82%E7%94%A8%E5%9C%BA%E6%99%AF%EF%BC%9A\">1.2.3\u9002\u7528\u573a\u666f&#xff1a;<\/h4>\n<ul>\n<li>\u5feb\u901f\u4fee\u6539\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6&#xff08;\u5982 \/etc\/ \u76ee\u5f55\u4e0b\u7684\u914d\u7f6e&#xff09;\u3002<\/li>\n<li>\u5728\u670d\u52a1\u5668\u7ec81.\u7aef\u4e2d\u7f16\u5199\u7b80\u5355\u7684\u811a\u672c&#xff08;\u5982 Shell \u811a\u672c&#xff09;\u3002<\/li>\n<li>\u521d\u5b66\u8005\u5165\u95e8\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91&#xff0c;\u907f\u514d\u56e0 Vim \u7684\u590d\u6742\u6027\u800c\u529d\u9000\u3002<\/li>\n<\/ul>\n<h3 id=\"1.3%20more%26%26less%E6%8C%87%E4%BB%A4%20%E6%9F%A5%E7%9C%8B%E5%A4%A7%E6%96%87%E4%BB%B6\">1.3 more&amp;&amp;less\u6307\u4ee4 \u67e5\u770b\u5927\u6587\u4ef6<\/h3>\n<h4 id=\"1.3.1%20more%3A%E5%8F%AA%E5%8F%AF%E5%89%8D%E8%BF%9B%E4%B8%8D%E5%8F%AF%E5%90%8E%E9%80%80%E5%9C%B0%E6%9F%A5%E7%9C%8B\">1.3.1 more:\u53ea\u53ef\u524d\u8fdb\u4e0d\u53ef\u540e\u9000\u5730\u67e5\u770b<\/h4>\n<p>  <span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; <\/span><br \/>\n  <span style=\"color:#1f2329\">more [<\/span><br \/>\n  <span style=\"color:#1f2329\">\u9009\u9879<\/span><br \/>\n  <span style=\"color:#1f2329\">] <\/span><\/p>\n<p>  <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;more\u547d\u4ee4&#xff0c;\u529f\u80fd\u7c7b\u4f3c cat<\/span><\/p>\n<p>   <span style=\"color:#1f2329\">\u5e38\u2f64\u9009\u9879&#xff1a; <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">-n \u6307\u5b9a\u8f93\u51fa\u2f8f\u6570 <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">q \u9000\u51famore<\/span><\/p>\n<p>\u4f7f\u7528<\/p>\n<p># \u547d\u4ee4\u884c\u8f93\u51fa\u591a\u884c\u6587\u672c<br \/>\nroot&#064;hcss-ecs-1cde:~# cnt&#061;0; while [ $cnt -le 2000 ]; do echo &#034;mp.txt&#034;<\/p>\n<p># -n \u6307\u5b9a\u8f93\u51fa\u884c\u6570<br \/>\n[root&#064;VM-4-4-centos lesson4]# more -10 temp.txt<br \/>\nhello Lotso<br \/>\nhello Lotso<br \/>\nhello Lotso<br \/>\nhello Lotso<br \/>\nhello Lotso<br \/>\nhello Lotso<br \/>\nhello Lotso<br \/>\nhello Lotso<br \/>\nhello Lotso<br \/>\nhello Lotso<br \/>\n&#8211;More&#8211;(0%)<\/p>\n<p>\u5982\u679c\u8fd8\u8981\u67e5\u770b\u5269\u4e0b\u7684\u6587\u4ef6\u4ee3\u7801,\u5219\u9700\u8981\u6309enter\u952e,\u6bcf\u6309\u4e00\u4e0b\u66f4\u65b0\u4e00\u6b21<\/p>\n<h4 id=\"1.3.2%20less%3A%E5%8F%AF%E5%89%8D%E8%BF%9B%E5%90%8E%E9%80%80%2C%E6%8E%A8%E8%8D%90\">1.3.2 less:\u53ef\u524d\u8fdb\u540e\u9000,\u63a8\u8350<\/h4>\n<p><span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; less [<\/span><span style=\"color:#1f2329\">\u53c2\u6570<\/span><span style=\"color:#1f2329\">] <\/span><span style=\"color:#1f2329\">\u2f42\u4ef6 <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;less\u4e0emore\u7c7b\u4f3c&#xff0c;\u4f46\u4f7f\u2f64less\u53ef\u4ee5\u968f\u610f\u6d4f\u89c8\u2f42\u4ef6&#xff0c;\u2f7dmore\u4ec5\u80fd\u5411\u524d\u79fb\u52a8&#xff0c;\u5374\u4e0d\u80fd\u5411\u540e\u79fb\u52a8&#xff0c;\u2f7d\u4e14less\u5728\u67e5\u770b\u4e4b\u524d\u4e0d\u4f1a\u52a0\u8f7d\u6574\u4e2a\u2f42\u4ef6\u3002<\/span><\/p>\n<p>  <span style=\"color:#1f2329\">\u9009\u9879&#xff1a; <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">-i \u5ffd\u7565\u641c\u7d22\u65f6\u7684\u2f24\u2f29\u5199 <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">-N \u663e\u2f70\u6bcf\u2f8f\u7684\u2f8f\u53f7 <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">\/\u5b57\u7b26\u4e32&#xff1a;\u5411\u4e0b\u641c\u7d22\u201c\u5b57\u7b26\u4e32\u201d\u7684\u529f\u80fd <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">?\u5b57\u7b26\u4e32&#xff1a;\u5411\u4e0a\u641c\u7d22\u201c\u5b57\u7b26\u4e32\u201d\u7684\u529f\u80fd <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">n&#xff1a;\u91cd\u590d\u524d\u2f00\u4e2a\u641c\u7d22&#xff08;\u4e0e \/ \u6216 ? \u6709\u5173&#xff09; <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">N&#xff1a;\u53cd\u5411\u91cd\u590d\u524d\u2f00\u4e2a\u641c\u7d22&#xff08;\u4e0e \/ \u6216 ? \u6709\u5173&#xff09; <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">q:quit<\/span><\/p>\n<p># \u547d\u4ee4\u2f8f\u8f93\u51fa\u591a\u2f8f\u2f42\u672c<br \/>\n[whb&#064;bite-alicloud test]$ cnt&#061;0; while [ $cnt -le 2000 ]; do echo &#034;hello<br \/>\n$cnt&#034;; let cnt&#043;&#043;; done &gt; temp.txt<br \/>\n# \u6d4b\u8bd5\u641c\u7d22\u548c-N\u7b49\u529f\u80fd<br \/>\n[whb&#064;bite-alicloud test]$ less -N temp.txt<br \/>\n1 hello 0<br \/>\n2 hello 1<br \/>\n3 hello 2<br \/>\n4 hello 3<br \/>\n5 hello 4<br \/>\n6 hello 5<br \/>\n7 hello 6<br \/>\n8 hello 7<br \/>\n9 hello 8<br \/>\n10 hello 9<br \/>\n11 hello 10<br \/>\n12 hello 11<br \/>\n13 hello 12<br \/>\n14 hello 13<br \/>\n&#8230; <\/p>\n<p>\u8865\u5145<\/p>\n<p>  <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n  <span style=\"color:#646a73\">less \u2f2f\u5177\u4e5f\u662f\u5bf9\u2f42\u4ef6\u6216\u5176\u5b83\u8f93\u51fa\u8fdb\u2f8f\u5206\u2eda\u663e\u2f70\u7684\u2f2f\u5177&#xff0c;\u5e94\u8be5\u8bf4\u662flinux\u6b63\u7edf\u67e5\u770b\u2f42\u4ef6\u5185\u5bb9\u7684\u2f2f\u5177,\u529f\u80fd\u6781\u5176\u5f3a\u2f24 <\/span><\/p>\n<p>  <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n  <span style=\"color:#646a73\">less \u7684\u2f64\u6cd5\u2f50\u8d77 more \u66f4\u52a0\u7684\u6709\u5f39\u6027&#xff0c;\u5728 more \u7684\u65f6\u5019&#xff0c;\u6211\u4eec\u5e76\u6ca1\u6709\u529e\u6cd5\u5411\u524d\u2faf\u7ffb&#xff0c; \u53ea\u80fd\u5f80\u540e\u2faf\u770b <\/span><\/p>\n<p>  <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n  <span style=\"color:#646a73\">\u4f46\u82e5\u4f7f\u2f64\u4e86 less \u65f6&#xff0c;\u5c31\u53ef\u4ee5\u4f7f\u2f64 [pageup] [pagedown] \u7b49\u6309\u952e\u7684\u529f\u80fd\u6765\u5f80\u524d\u5f80\u540e\u7ffb\u770b\u2f42\u4ef6&#xff0c;\u66f4\u5bb9\u6613\u2f64\u6765\u67e5\u770b\u2f00\u4e2a\u2f42\u4ef6\u7684\u5185\u5bb9 <\/span><\/p>\n<p>  <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n  <span style=\"color:#646a73\">\u9664\u6b64\u4e4b\u5916&#xff0c;\u5728 less \u2fa5\u5934\u53ef\u4ee5\u62e5\u6709\u66f4\u591a\u7684\u641c\u7d22\u529f\u80fd&#xff0c;\u4e0d\u2f4c\u53ef\u4ee5\u5411\u4e0b\u641c&#xff0c;\u4e5f\u53ef\u4ee5\u5411\u4e0a\u641c<\/span><\/p>\n<h3 id=\"1.4%20head%26%26tail%E6%8C%87%E4%BB%A4%3A%E6%9F%A5%E7%9C%8B%E5%BC%80%E5%A4%B4%E6%88%96%E7%BB%93%E5%B0%BE%E7%9A%84%E6%96%87%E5%AD%97%E5%8C%BA%E5%9D%97\">1.4 head&amp;&amp;tail\u6307\u4ee4:\u67e5\u770b\u5f00\u5934\u6216\u7ed3\u5c3e\u7684\u6587\u5b57\u533a\u5757<\/h3>\n<h4 id=\"1.4.1%20head%3A%E6%9F%A5%E7%9C%8B%E5%BC%80%E5%A4%B4%E7%9A%84%E6%96%87%E5%AD%97%E5%8C%BA%E5%9D%97(%E5%8F%AF%E6%8C%87%E5%AE%9A%E5%8C%BA%E5%9F%9F)\">1.4.1 head:\u67e5\u770b\u5f00\u5934\u7684\u6587\u5b57\u533a\u5757(\u53ef\u6307\u5b9a\u533a\u57df)<\/h4>\n<p>  <span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a;head [\u53c2\u6570]&#8230; [\u2f42\u4ef6]&#8230; <\/span><\/p>\n<p>  <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;head \u2f64\u6765\u663e\u2f70\u6863\u6848\u7684\u5f00\u5934\u2f84\u6807\u51c6\u8f93\u51fa\u4e2d&#xff0c;\u9ed8\u8ba4head\u547d\u4ee4\u6253\u5370\u5176\u76f8\u5e94\u2f42\u4ef6\u7684\u5f00\u593410\u2f8f\u3002<\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u9009\u9879&#xff1a; <\/span><br \/>\n <span style=\"color:#646a73\">-n&lt;\u2f8f\u6570&gt; \u663e\u2f70\u7684\u2f8f\u6570<\/span><\/p>\n<p> [whb&#064;bite-alicloud test]$ head temp.txt<br \/>\nhello 0<br \/>\nhello 1<br \/>\nhello 2<br \/>\nhello 3<br \/>\nhello 4<br \/>\nhello 5<br \/>\nhello 6<br \/>\nhello 7<br \/>\nhello 8<br \/>\nhello 9<br \/>\n[whb&#064;bite-alicloud test]$ head -5 temp.txt<br \/>\nhello 0<br \/>\nhello 1<br \/>\nhello 2<br \/>\nhello 3<br \/>\nhello 4 <\/p>\n<h4 id=\"1.4.2%20tail%3A%E6%9F%A5%E7%9C%8B%E7%BB%93%E5%B0%BE%E7%9A%84%E6%96%87%E5%AD%97%E5%8C%BA%E5%9D%97\">1.4.2 tail:\u67e5\u770b\u7ed3\u5c3e\u7684\u6587\u5b57\u533a\u5757<\/h4>\n<p>  <span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; <\/span><br \/>\n  <span style=\"color:#1f2329\">tail <\/span><br \/>\n  <span style=\"color:#1f2329\">\u5fc5\u8981\u53c2\u6570 <\/span><br \/>\n  <span style=\"color:#1f2329\">[<\/span><br \/>\n  <span style=\"color:#1f2329\">\u2f42\u4ef6<\/span><br \/>\n  <span style=\"color:#1f2329\">] <\/span><\/p>\n<p>  <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;\u2f64\u4e8e\u663e\u2f70\u6307\u5b9a\u2f42\u4ef6\u672b\u5c3e\u5185\u5bb9&#xff0c;\u4e0d\u6307\u5b9a\u2f42\u4ef6\u65f6&#xff0c;\u4f5c\u4e3a\u8f93\u2f0a\u4fe1\u606f\u8fdb\u2f8f\u5904\u7406\u3002\u5e38\u2f64\u67e5\u770b\u2f47\u5fd7\u2f42\u4ef6<\/span><\/p>\n<p>   <span style=\"color:#1f2329\">\u9009\u9879&#xff1a; <\/span><br \/>\n   <span style=\"color:#646a73\">-f \u5faa\u73af\u8bfb\u53d6<\/span><\/p>\n<p>   <span style=\"color:#646a73\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-n&lt;\u2f8f\u6570&gt; \u663e\u2f70\u2f8f\u6570<\/span><\/p>\n<p> # \u57fa\u672c\u529f\u80fd\u6f14\u2f70<br \/>\n[whb&#064;bite-alicloud test]$ tail temp.txt<br \/>\nhello 1991<br \/>\nhello 1992<br \/>\nhello 1993<br \/>\nhello 1994<br \/>\nhello 1995<br \/>\nhello 1996<br \/>\nhello 1997<br \/>\nhello 1998<br \/>\nhello 1999<br \/>\nhello 2000<br \/>\n[whb&#064;bite-alicloud test]$ tail -3 temp.txt<br \/>\nhello 1998<br \/>\nhello 1999<br \/>\nhello 2000 <\/p>\n<h4 id=\"1.4.3%20head%E4%B8%8Etail%E7%BB%84%E5%90%88%E4%BD%BF%E7%94%A8%2C%E6%9F%A5%E6%89%BE%E4%B8%AD%E9%97%B4%E5%8C%BA%E5%9F%9F\">1.4.3 head\u4e0etail\u7ec4\u5408\u4f7f\u7528,\u67e5\u627e\u4e2d\u95f4\u533a\u57df<\/h4>\n<p>\u6b64\u5904\u4ee5\u6a21\u62df\u67e5\u627e\u65e5\u5fd7\u4e3a\u4f8b<\/p>\n<p> root&#064;hcss-ecs-1cde:~# head -200 temp.txt | tail -20<br \/>\nhello 180<br \/>\nhello 181<br \/>\nhello 182<br \/>\nhello 183<br \/>\nhello 184<br \/>\nhello 185<br \/>\nhello 186<br \/>\nhello 187<br \/>\nhello 188<br \/>\nhello 189<br \/>\nhello 190<br \/>\nhello 191<br \/>\nhello 192<br \/>\nhello 193<br \/>\nhello 194<br \/>\nhello 195<br \/>\nhello 196<br \/>\nhello 197<br \/>\nhello 198<br \/>\nhello 199<\/p>\n<h4 id=\"1.4.4%20%7C(%E7%AE%A1%E9%81%93)%E4%BD%BFhead%20tail%E7%AD%89%E6%8C%87%E4%BB%A4%E5%8F%AF%E4%BB%A5%E7%81%B5%E6%B4%BB%E6%90%AD%E9%85%8D%E4%BD%BF%E7%94%A8\">1.4.4 |(\u7ba1\u9053)\u4f7fhead tail\u7b49\u6307\u4ee4\u53ef\u4ee5\u7075\u6d3b\u642d\u914d\u4f7f\u7528<\/h4>\n<p>\u7ba1\u9053\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u8fdb\u7a0b\u95f4\u4f20\u9012\u6570\u636e\u7684\u901a\u4fe1\u673a\u5236&#xff0c;\u901a\u5e38\u7528\u4e8e\u5355\u5411\u6570\u636e\u4f20\u8f93\u3002\u5728Unix\/Linux\u7cfb\u7edf\u4e2d&#xff0c;\u7ba1\u9053\u5206\u4e3a\u533f\u540d\u7ba1\u9053\u548c\u547d\u540d\u7ba1\u9053\u4e24\u79cd\u7c7b\u578b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"567\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260124150426-6974df7a01aa0.png\" width=\"1698\" \/><\/p>\n<p>\u4e0a\u9762head\u5148\u4ecetemp.txt\u8bfb\u53d6\u6570\u636e,\u7136\u540e\u7ed9|,\u6700\u540etail\u518d\u4ece|\u8fd9\u4e2a\u7ba1\u9053\u8bfb\u53d6\u6570\u636e<\/p>\n<p>\u6ce8:\u4e00\u884c\u547d\u4ee4\u4e2d\u6709\u591a\u4e2a\u7ba1\u9053\u4e5f\u662f\u53ef\u4ee5<\/p>\n<h2 id=\"%E4%BA%8C.%20%E6%97%B6%E9%97%B4%E4%B8%8E%E6%97%A5%E5%8E%86\">\u4e8c. \u65f6\u95f4\u4e0e\u65e5\u5386<\/h2>\n<h3 id=\"1.1%20date%3A%E6%9F%A5%E7%9C%8B%E6%97%B6%E9%97%B4\">1.1 date:\u67e5\u770b\u65f6\u95f4<\/h3>\n<p>   <span style=\"color:#1f2329\">\u6307\u5b9a\u683c\u5f0f\u663e\u2f70\u65f6\u95f4&#xff1a; <\/span><br \/>\n   <span style=\"color:#1f2329\">date &#043;%Y:%m:%d <\/span><\/p>\n<p>   <span style=\"color:#1f2329\">\u2f64\u6cd5&#xff1a; <\/span><br \/>\n   <span style=\"color:#1f2329\">date [OPTION]&#8230; [&#043;FORMAT]<\/span><\/p>\n<p> <span style=\"color:#1456f0\">1. <\/span><br \/>\n <span style=\"color:#1f2329\">\u5728\u663e\u2f70\u2f45\u2faf&#xff0c;\u4f7f\u2f64\u8005\u53ef\u4ee5\u8bbe\u5b9a\u6b32\u663e\u2f70\u7684\u683c\u5f0f&#xff0c;\u683c\u5f0f\u8bbe\u5b9a\u4e3a\u2f00\u4e2a\u52a0\u53f7\u540e\u63a5\u6570\u4e2a\u6807\u8bb0&#xff0c;\u5176\u4e2d\u5e38\u2f64\u7684\u6807\u8bb0\u5217\u8868\u5982\u4e0b <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">%H : \u2f29\u65f6(00..23) <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">%M : \u5206\u949f(00..59) <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">%S : \u79d2(00..61)<\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">%X : \u76f8\u5f53\u4e8e %H:%M:%S <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">%d : \u2f47 (01..31) <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">%m : \u2f49\u4efd (01..12) <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">%Y : \u5b8c\u6574\u5e74\u4efd (0000..9999) <\/span><\/p>\n<p>   <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n   <span style=\"color:#646a73\">%F : \u76f8\u5f53\u4e8e %Y-%m-%d<\/span><\/p>\n<p>  <span style=\"color:#1456f0\">2. <\/span><br \/>\n  <span style=\"color:#1f2329\">\u5728\u8bbe\u5b9a\u65f6\u95f4\u2f45\u2faf<\/span><\/p>\n<p>   <span style=\"color:#646a73\">date -s \/\/\u8bbe\u7f6e\u5f53\u524d\u65f6\u95f4&#xff0c;\u53ea\u6709root\u6743\u9650\u624d\u80fd\u8bbe\u7f6e&#xff0c;\u5176\u4ed6\u53ea\u80fd\u67e5\u770b\u3002 <\/span><\/p>\n<p>   <span style=\"color:#646a73\">date -s 20080523 \/\/\u8bbe\u7f6e\u621020080523&#xff0c;\u8fd9\u6837\u4f1a\u628a\u5177\u4f53\u65f6\u95f4\u8bbe\u7f6e\u6210\u7a7a00:00:00 <\/span><\/p>\n<p>   <span style=\"color:#646a73\">date -s 01:01:01 \/\/\u8bbe\u7f6e\u5177\u4f53\u65f6\u95f4&#xff0c;\u4e0d\u4f1a\u5bf9\u2f47\u671f\u505a\u66f4\u6539 <\/span><\/p>\n<p>   <span style=\"color:#646a73\">date -s \u201c01:01:01 2008-05-23\u2033 \/\/\u8fd9\u6837\u53ef\u4ee5\u8bbe\u7f6e\u5168\u90e8\u65f6\u95f4 <\/span><\/p>\n<p>   <span style=\"color:#646a73\">date -s \u201c01:01:01 20080523\u2033 \/\/\u8fd9\u6837\u53ef\u4ee5\u8bbe\u7f6e\u5168\u90e8\u65f6\u95f4 <\/span><\/p>\n<p>   <span style=\"color:#646a73\">date -s \u201c2008-05-23 01:01:01\u2033 \/\/\u8fd9\u6837\u53ef\u4ee5\u8bbe\u7f6e\u5168\u90e8\u65f6\u95f4 <\/span><\/p>\n<p>   <span style=\"color:#646a73\">date -s \u201c20080523 01:01:01\u2033 \/\/\u8fd9\u6837\u53ef\u4ee5\u8bbe\u7f6e\u5168\u90e8\u65f6\u95f4<\/span><\/p>\n<p> <span style=\"color:#1f2329\">3.\u65f6\u95f4\u6233 <\/span><\/p>\n<p>  <span style=\"color:#646a73\">\u65f6\u95f4-&gt;\u65f6\u95f4\u6233&#xff1a;date &#043;%s <\/span><\/p>\n<p>  <span style=\"color:#646a73\">\u65f6\u95f4\u6233-&gt;\u65f6\u95f4&#xff1a;date -d&#064;1508749502 <\/span><\/p>\n<p>  <span style=\"color:#646a73\">Unix\u65f6\u95f4\u6233&#xff08;\u82f1\u2f42\u4e3aUnix epoch, Unix time, POSIX time \u6216 Unix timestamp&#xff09;\u662f\u4ece1970\u5e741\u2f491\u2f47&#xff08;UTC\/GMT\u7684\u5348\u591c&#xff09;\u5f00\u59cb\u6240\u7ecf\u8fc7\u7684\u79d2\u6570&#xff0c;\u4e0d\u8003\u8651\u95f0\u79d2<\/span><\/p>\n<p>\u65f6\u95f4\u6233\u975e\u5e38\u91cd\u8981,\u53ef\u4ee5\u8f6c\u6362\u4e3a\u65f6\u95f4,\u800c\u5927\u578b\u6587\u4ef6\u90fd\u662f\u9700\u8981\u65e5\u5fd7\u8bb0\u5f55\u7684,\u65e5\u5fd7\u5305\u542b\u65f6\u95f4\\\\<\/p>\n<p># \u663e\u2f70\u5e38\u89c4\u65f6\u95f4<br \/>\nroot&#064;hcss-ecs-1cde:~# date &#043;%Y\/%m\/%d<br \/>\n2025\/12\/10<\/p>\n<p># \u663e\u2f70\u65f6\u95f4\u6233<br \/>\nroot&#064;hcss-ecs-1cde:~# date &#043;%Y\/%m\/%d<br \/>\n2025\/12\/10<\/p>\n<p># \u65f6\u95f4\u6233\u8f6c\u6210\u53ef\u89c6\u65f6\u95f4<br \/>\nroot&#064;hcss-ecs-1cde:~# date &#043;%Y\/%m\/%d-%H:%M:%S -d&#064;0<br \/>\n1970\/01\/01-08:00:00<\/p>\n<h4 id=\"1.1.1%E5%B0%8F%E7%9F%A5%E8%AF%86%3A%E7%94%B5%E8%84%91%E6%97%B6%E9%97%B4%E6%80%BB%E6%98%AF%E6%98%AF%E5%87%86%E7%A1%AE%E7%9A%84\">1.1.1\u5c0f\u77e5\u8bc6:\u7535\u8111\u65f6\u95f4\u603b\u662f\u662f\u51c6\u786e\u7684<\/h4>\n<p>\u5f53\u6211\u4eec\u7535\u8111\u54ea\u6015\u5173\u673a\u6216\u8005\u65ad\u7f51\u540e,\u4e00\u6bb5\u65f6\u95f4\u5374\u7535\u8111\u65f6\u95f4\u5374\u4f9d\u65e7\u51c6\u786e,\u539f\u56e0\u5c31\u662f\u7535\u8111\u6709\u4e00\u4e2a\u5c0f\u7684\u7ebd\u6263\u7535\u6c60,\u7528\u6765\u8bb0\u5f55\u65f6\u95f4<\/p>\n<h3 id=\"1.2%20cal%20%E6%9F%A5%E6%89%BE%E6%97%A5%E5%8E%86\">1.2 cal \u67e5\u627e\u65e5\u5386<\/h3>\n<p> <span style=\"color:#1f2329\">\u547d\u4ee4\u683c\u5f0f&#xff1a; <\/span><br \/>\n <span style=\"color:#1f2329\">cal <\/span><br \/>\n <span style=\"color:#1f2329\">\u53c2\u6570 <\/span><br \/>\n <span style=\"color:#1f2329\">[<\/span><br \/>\n <span style=\"color:#1f2329\">\u5e74\u4efd<\/span><br \/>\n <span style=\"color:#1f2329\">] <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;\u2f64\u4e8e\u67e5\u770b\u2f47\u5386\u7b49\u65f6\u95f4\u4fe1\u606f&#xff0c;\u5982\u53ea\u6709\u2f00\u4e2a\u53c2\u6570&#xff0c;\u5219\u8868\u2f70\u5e74\u4efd(1-9999)&#xff0c;\u5982\u6709\u4e24\u4e2a\u53c2\u6570&#xff0c;\u5219\u8868\u2f70\u2f49\u4efd \u548c\u5e74\u4efd <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u5e38\u2f64\u9009\u9879&#xff1a; <\/span><\/p>\n<p>  <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n  <span style=\"color:#646a73\">-3 \u663e\u2f70\u7cfb\u7edf\u524d\u2f00\u4e2a\u2f49&#xff0c;\u5f53\u524d\u2f49&#xff0c;\u4e0b\u2f00\u4e2a\u2f49\u7684\u2f49\u5386 <\/span><\/p>\n<p>  <span style=\"color:#1456f0\">\u2022 &#8211;<\/span><br \/>\n  <span style=\"color:#646a73\">j \u663e\u2f70\u5728\u5f53\u5e74\u4e2d\u7684\u7b2c\u2f0f\u5929&#xff08;\u2f00\u5e74\u2f47\u671f\u6309\u5929\u7b97&#xff0c;\u4ece1\u2f491\u53f7\u7b97\u8d77&#xff0c;\u9ed8\u8ba4\u663e\u2f70\u5f53\u524d\u2f49\u5728\u2f00\u5e74\u4e2d\u7684\u5929\u6570&#xff09; <\/span><\/p>\n<p>  <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n  <span style=\"color:#646a73\">-y \u663e\u2f70\u5f53\u524d\u5e74\u4efd\u7684\u2f47\u5386<\/span><\/p>\n<h3 id=\"\"><\/h3>\n<p># \u5e38\u89c4\u6837\u4f8b<br \/>\nroot&#064;hcss-ecs-1cde:~# cal<br \/>\n   December 2025<br \/>\nSu Mo Tu We Th Fr Sa<br \/>\n    1  2  3  4  5  6<br \/>\n 7  8  9 10 11 12 13<br \/>\n14 15 16 17 18 19 20<br \/>\n21 22 23 24 25 26 27<br \/>\n28 29 30 31           <\/p>\n<p>root&#064;hcss-ecs-1cde:~# cal -3<br \/>\n   November 2025         December 2025          January 2026<br \/>\nSu Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa<br \/>\n                   1      1  2  3  4  5  6               1  2  3<br \/>\n 2  3  4  5  6  7  8   7  8  9 10 11 12 13   4  5  6  7  8  9 10<br \/>\n 9 10 11 12 13 14 15  14 15 16 17 18 19 20  11 12 13 14 15 16 17<br \/>\n16 17 18 19 20 21 22  21 22 23 24 25 26 27  18 19 20 21 22 23 24<br \/>\n23 24 25 26 27 28 29  28 29 30 31           25 26 27 28 29 30 31<br \/>\n30<br \/>\nroot&#064;hcss-ecs-1cde:~# cal 2025<br \/>\n                            2025<br \/>\n      January               February               March<br \/>\nSu Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa<br \/>\n          1  2  3  4                     1                     1<br \/>\n 5  6  7  8  9 10 11   2  3  4  5  6  7  8   2  3  4  5  6  7  8<br \/>\n12 13 14 15 16 17 18   9 10 11 12 13 14 15   9 10 11 12 13 14 15<br \/>\n19 20 21 22 23 24 25  16 17 18 19 20 21 22  16 17 18 19 20 21 22<br \/>\n26 27 28 29 30 31     23 24 25 26 27 28     23 24 25 26 27 28 29<br \/>\n                                            30 31                 <\/p>\n<p>       April                  May                   June<br \/>\nSu Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa<br \/>\n       1  2  3  4  5               1  2  3   1  2  3  4  5  6  7<br \/>\n 6  7  8  9 10 11 12   4  5  6  7  8  9 10   8  9 10 11 12 13 14<br \/>\n13 14 15 16 17 18 19  11 12 13 14 15 16 17  15 16 17 18 19 20 21<br \/>\n20 21 22 23 24 25 26  18 19 20 21 22 23 24  22 23 24 25 26 27 28<br \/>\n27 28 29 30           25 26 27 28 29 30 31  29 30                 <\/p>\n<p>        July                 August              September<br \/>\nSu Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa<br \/>\n       1  2  3  4  5                  1  2      1  2  3  4  5  6<br \/>\n 6  7  8  9 10 11 12   3  4  5  6  7  8  9   7  8  9 10 11 12 13<br \/>\n13 14 15 16 17 18 19  10 11 12 13 14 15 16  14 15 16 17 18 19 20<br \/>\n20 21 22 23 24 25 26  17 18 19 20 21 22 23  21 22 23 24 25 26 27<br \/>\n27 28 29 30 31        24 25 26 27 28 29 30  28 29 30<br \/>\n                      31                                          <\/p>\n<p>      October               November              December<br \/>\nSu Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa<br \/>\n          1  2  3  4                     1      1  2  3  4  5  6<br \/>\n 5  6  7  8  9 10 11   2  3  4  5  6  7  8   7  8  9 10 11 12 13<br \/>\n12 13 14 15 16 17 18   9 10 11 12 13 14 15  14 15 16 17 18 19 20<br \/>\n19 20 21 22 23 24 25  16 17 18 19 20 21 22  21 22 23 24 25 26 27<br \/>\n26 27 28 29 30 31     23 24 25 26 27 28 29  28 29 30 31<br \/>\n                      30             <\/p>\n<h2 id=\"%C2%A0%E4%B8%89.%20%E6%90%9C%E7%B4%A2%E6%8C%87%E4%BB%A4%3A%E9%AB%98%E6%95%88%E5%87%86%E7%A1%AE%E5%9C%B0%E6%9F%A5%E6%89%BE%E4%BD%8D%E7%BD%AE\">\u00a0\u4e09. \u641c\u7d22\u6307\u4ee4:\u9ad8\u6548\u51c6\u786e\u5730\u67e5\u627e\u4f4d\u7f6e<\/h2>\n<h3 id=\"1.1%20find%20%3A%E5%9C%A8%E7%9B%AE%E5%BD%95%E4%B8%AD%E5%87%86%E7%A1%AE%E6%9F%A5%E6%89%BE%E6%96%87%E4%BB%B6\">1.1 find :\u5728\u76ee\u5f55\u4e2d\u51c6\u786e\u67e5\u627e\u6587\u4ef6<\/h3>\n<p> <span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; <\/span><br \/>\n <span style=\"color:#1f2329\">find pathname -options <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;\u2f64\u4e8e\u5728\u2f42\u4ef6\u6811\u4e2d\u67e5\u627e\u2f42\u4ef6&#xff0c;\u5e76\u4f5c\u51fa\u76f8\u5e94\u7684\u5904\u7406&#xff08;\u53ef\u80fd\u8bbf\u95ee\u78c1\u76d8&#xff09; <\/span><\/p>\n<p> <span style=\"color:#1f2329\">\u5e38\u2f64\u9009\u9879 <\/span><\/p>\n<p>  <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n  <span style=\"color:#646a73\">-name \u6309\u7167\u2f42\u4ef6\u540d\u67e5\u627e\u2f42\u4ef6 <\/span><\/p>\n<p>  <span style=\"color:#1456f0\">\u2022 <\/span><br \/>\n  <span style=\"color:#646a73\">\u5176\u4ed6\u9009\u9879\u9700\u8981\u5728\u67e5&#xff0c;\u8fd9\u4e2a\u547d\u4ee4\u5176\u5b9e\u2f50\u8f83\u590d\u6742<\/span><\/p>\n<p># \u5728\u6307\u5b9a\u8def\u5f84\u4e0b\u641c\u7d22\u6267\u2f8f\u540d\u79f0\u7684\u2f42\u4ef6<br \/>\nroot&#064;hcss-ecs-1cde:~# find ~-name *txt<br \/>\nfind: \u2018~-name\u2019: No such file or directory<br \/>\na.txt<br \/>\nmodify.txt<br \/>\nmp.txt<br \/>\nmy-backup.txt<br \/>\ntemp.txt<\/p>\n<p>\u8865\u5145<\/p>\n<p>  <span style=\"color:#646a73\">Linux\u4e0bfind\u547d\u4ee4\u5728\u2f6c\u5f55\u7ed3\u6784\u4e2d\u641c\u7d22\u2f42\u4ef6&#xff0c;\u5e76\u6267\u2f8f\u6307\u5b9a\u7684\u64cd\u4f5c\u3002 <\/span><\/p>\n<p>  <span style=\"color:#646a73\">Linux\u4e0bfind\u547d\u4ee4\u63d0\u4f9b\u4e86\u76f8\u5f53\u591a\u7684\u67e5\u627e\u6761\u4ef6&#xff0c;\u529f\u80fd\u5f88\u5f3a\u2f24\u3002\u7531\u4e8efind\u5177\u6709\u5f3a\u2f24\u7684\u529f\u80fd&#xff0c;\u6240\u4ee5\u5b83\u7684\u9009\u9879\u4e5f\u5f88\u591a&#xff0c;\u5176\u4e2d\u2f24\u90e8\u5206\u9009\u9879\u90fd\u503c\u5f97\u6211\u4eec\u82b1\u65f6\u95f4\u6765\u4e86\u89e3\u2f00\u4e0b\u3002 <\/span><\/p>\n<p>  <span style=\"color:#646a73\">\u5373\u4f7f\u7cfb\u7edf\u4e2d\u542b\u6709\u2f79\u7edc\u2f42\u4ef6\u7cfb\u7edf( NFS)&#xff0c;find\u547d\u4ee4\u5728\u8be5\u2f42\u4ef6\u7cfb\u7edf\u4e2d\u540c\u6837\u6709\u6548&#xff0c;\u53ea\u4f60\u5177\u6709\u76f8\u5e94\u7684\u6743 <\/span><\/p>\n<p>  <span style=\"color:#646a73\">\u9650\u3002 <\/span><\/p>\n<p>  <span style=\"color:#646a73\">\u5728\u8fd0\u2f8f\u2f00\u4e2a\u2fae\u5e38\u6d88\u8017\u8d44\u6e90\u7684find\u547d\u4ee4\u65f6&#xff0c;\u5f88\u591a\u2f08\u90fd\u503e\u5411\u4e8e\u628a\u5b83\u653e\u5728\u540e\u53f0\u6267\u2f8f&#xff0c;\u56e0\u4e3a\u904d\u5386\u2f00\u4e2a\u2f24\u7684 \u2f42\u4ef6\u7cfb\u7edf\u53ef\u80fd\u4f1a\u82b1\u8d39\u5f88\u2ed3\u7684\u65f6\u95f4(\u8fd9\u2fa5\u662f\u630730G\u5b57\u8282\u4ee5\u4e0a\u7684\u2f42\u4ef6\u7cfb\u7edf)\u3002<\/span><\/p>\n<h3 id=\"1.2%20whereis%3A%E6%9F%A5%E6%89%BE%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6\">1.2 whereis:\u67e5\u627e\u4e8c\u8fdb\u5236\u6587\u4ef6<\/h3>\n<p> <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;\u2f64\u4e8e\u627e\u5230\u7a0b\u5e8f\u7684\u6e90\u3001\u2f06\u8fdb\u5236\u2f42\u4ef6\u6216\u2f3f\u518c<\/span><\/p>\n<p> root&#064;hcss-ecs-1cde:~\/dir# whereis ls<br \/>\nls: \/usr\/bin\/ls \/usr\/share\/man\/man1\/ls.1.gz<\/p>\n<h3 id=\"1.3%20grep%3A%E6%9F%A5%E6%89%BE%E5%AD%97%E7%AC%A6%E4%B8%B2%E6%96%87%E4%BB%B6\">1.3 grep:\u67e5\u627e\u5b57\u7b26\u4e32\u6587\u4ef6<\/h3>\n<p>  <span style=\"color:#1f2329\">\u8bed\u6cd5&#xff1a; <\/span><br \/>\n  <span style=\"color:#1f2329\">grep [<\/span><br \/>\n  <span style=\"color:#1f2329\">\u9009\u9879<\/span><br \/>\n  <span style=\"color:#1f2329\">] <\/span><br \/>\n  <span style=\"color:#1f2329\">\u641c\u5bfb\u5b57\u7b26\u4e32 \u2f42\u4ef6 <\/span><\/p>\n<p>  <span style=\"color:#1f2329\">\u529f\u80fd&#xff1a;\u5728\u2f42\u4ef6\u4e2d\u641c\u7d22\u5b57\u7b26\u4e32&#xff0c;\u5c06\u627e\u5230\u7684\u2f8f\u6253\u5370\u51fa\u6765<\/span><\/p>\n<p>    <span style=\"color:#1f2329\">\u5e38\u2f64\u9009\u9879&#xff1a; <\/span><\/p>\n<p>    <span style=\"color:#646a73\">-i &#xff1a;\u5ffd\u7565\u2f24\u2f29\u5199\u7684\u4e0d\u540c&#xff0c;\u6240\u4ee5\u2f24\u2f29\u5199\u89c6\u4e3a\u76f8\u540c <\/span><\/p>\n<p>    <span style=\"color:#646a73\">-n &#xff1a;\u987a\u4fbf\u8f93\u51fa\u2f8f\u53f7 <\/span><\/p>\n<p>    <span style=\"color:#646a73\">-v &#xff1a;\u53cd\u5411\u9009\u62e9&#xff0c;\u4ea6\u5373\u663e\u2f70\u51fa\u6ca1\u6709 &#039;\u641c\u5bfb\u5b57\u7b26\u4e32&#039; \u5185\u5bb9\u7684\u90a3\u2f00\u2f8f<\/span><\/p>\n<p># \u2f42\u4ef6\u5185\u5bb9<br \/>\nroot&#064;hcss-ecs-1cde:~\/dir# cat temp.txt<br \/>\naabb<br \/>\nccdd<br \/>\nffgg<br \/>\n1234<br \/>\nAABB<\/p>\n<p>#\u57fa\u672c\u67e5\u627e<br \/>\nroot&#064;hcss-ecs-1cde:~\/dir# grep &#039;aabb&#039; temp.txt<br \/>\naabb<\/p>\n<p># \u5ffd\u7565\u2f24\u2f29\u5199\u7684\u4e0d\u540c&#xff0c;\u6240\u4ee5\u2f24\u2f29\u5199\u89c6\u4e3a\u76f8\u540c<br \/>\nroot&#064;hcss-ecs-1cde:~\/dir# grep -i &#039;aabb&#039; temp.txt<br \/>\naabb<br \/>\nAABB<\/p>\n<p># \u987a\u4fbf\u8f93\u51fa\u2f8f\u53f7<br \/>\nroot&#064;hcss-ecs-1cde:~\/dir# grep -in &#039;aabb&#039; temp.txt<br \/>\n1:aabb<br \/>\n5:AABB<\/p>\n<p># \u53cd\u5411\u9009\u62e9&#xff0c;\u4ea6\u5373\u663e\u2f70\u51fa\u6ca1\u6709 &#039;\u641c\u5bfb\u5b57\u7b26\u4e32&#039; \u5185\u5bb9\u7684\u90a3\u2f00\u2f8f<br \/>\nroot&#064;hcss-ecs-1cde:~\/dir# grep -v &#039;aabb&#039; temp.txt<br \/>\nccdd<br \/>\nffgg<br \/>\n1234<br \/>\nAABB<br \/>\nroot&#064;hcss-ecs-1cde:~\/dir# grep -vn &#039;aabb&#039; temp.txt<br \/>\n2:ccdd<br \/>\n3:ffgg<br \/>\n4:1234<br \/>\n5:AABB<br \/>\nroot&#064;hcss-ecs-1cde:~\/dir# grep -vni &#039;aabb&#039; temp.txt<br \/>\n2:ccdd<br \/>\n3:ffgg<br \/>\n4:1234<\/p>\n<h2 id=\"%E6%80%BB%E7%BB%93%3A\" style=\"background-color:transparent\">\u603b\u7ed3:<\/h2>\n<p>\u7075\u6d3b\u4f7f\u7528\u7ba1\u9053\u4e0e\u5176\u4ed6\u6307\u4ee4\u642d\u914d,\u660e\u767ddata\u7684\u6765\u5386\u5c31\u521d\u59cb\u503c0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#x1f525;\u4e2a\u4eba\u4e3b\u9875&#xff1a;Milestone-\u91cc\u7a0b\u7891<br \/>\n\u2744\ufe0f\u4e2a\u4eba\u4e13\u680f:\u00a0&lt;&gt;\u00a0&lt;&gt;&lt;&gt; &lt;&gt;&lt;&gt;<br \/>\n&#x1f31f;\u5fc3\u5411\u5f80\u4e4b\u884c\u5fc5\u80fd\u81f3<br \/>\n\u76ee\u5f55<br \/>\n\u4e00. \u6587\u4ef6\u5185\u5bb9\u64cd\u4f5c<br \/>\n1.1\u00a0cat&amp;&amp;tac :\u00a0 \u00a0\u6b63\u5e8f\/\u5012\u5e8f\u67e5\u770b\u6587\u4ef6<br \/>\n1.2 nano:\u7b80\u5355\u6613\u7528\u7684\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668<br \/>\n1.2.1\u5e38\u7528\u5feb\u6377\u952e<br \/>\n1.2.2\u9ad8\u7ea7\u529f\u80fd<br \/>\n1.2.3\u9002\u7528\u573a\u666f&#xff1a;<br \/>\n1.3 more&amp;&amp;less\u6307\u4ee4 \u67e5\u770b\u5927\u6587\u4ef6<\/p>\n","protected":false},"author":2,"featured_media":65404,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[174,58,1813,43,305,427,44],"topic":[],"class_list":["post-65405","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-linux","tag-1813","tag-43","tag-305","tag-427","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux 3 \u6307\u4ee4(3):\u8fdb\u9636\u6307\u4ee4:\u6587\u4ef6\u67e5\u770b\u3001\u8d44\u6e90\u7ba1\u7406\u3001\u641c\u7d22\u6253\u5305\u538b\u7f29\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/65405.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux 3 \u6307\u4ee4(3):\u8fdb\u9636\u6307\u4ee4:\u6587\u4ef6\u67e5\u770b\u3001\u8d44\u6e90\u7ba1\u7406\u3001\u641c\u7d22\u6253\u5305\u538b\u7f29\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"&#x1f525;\u4e2a\u4eba\u4e3b\u9875&#xff1a;Milestone-\u91cc\u7a0b\u7891 \u2744\ufe0f\u4e2a\u4eba\u4e13\u680f:\u00a0&lt;&gt;\u00a0&lt;&gt;&lt;&gt; &lt;&gt;&lt;&gt; &#x1f31f;\u5fc3\u5411\u5f80\u4e4b\u884c\u5fc5\u80fd\u81f3 \u76ee\u5f55 \u4e00. \u6587\u4ef6\u5185\u5bb9\u64cd\u4f5c 1.1\u00a0cat&amp;&amp;tac :\u00a0 \u00a0\u6b63\u5e8f\/\u5012\u5e8f\u67e5\u770b\u6587\u4ef6 1.2 nano:\u7b80\u5355\u6613\u7528\u7684\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668 1.2.1\u5e38\u7528\u5feb\u6377\u952e 1.2.2\u9ad8\u7ea7\u529f\u80fd 1.2.3\u9002\u7528\u573a\u666f&#xff1a; 1.3 more&amp;&amp;less\u6307\u4ee4 \u67e5\u770b\u5927\u6587\u4ef6\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/65405.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-24T15:04:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260124150426-6974df7a01aa0.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/65405.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/65405.html\",\"name\":\"Linux 3 \u6307\u4ee4(3):\u8fdb\u9636\u6307\u4ee4:\u6587\u4ef6\u67e5\u770b\u3001\u8d44\u6e90\u7ba1\u7406\u3001\u641c\u7d22\u6253\u5305\u538b\u7f29\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-24T15:04:27+00:00\",\"dateModified\":\"2026-01-24T15:04:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/65405.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/65405.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/65405.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux 3 \u6307\u4ee4(3):\u8fdb\u9636\u6307\u4ee4:\u6587\u4ef6\u67e5\u770b\u3001\u8d44\u6e90\u7ba1\u7406\u3001\u641c\u7d22\u6253\u5305\u538b\u7f29\u8be6\u89e3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux 3 \u6307\u4ee4(3):\u8fdb\u9636\u6307\u4ee4:\u6587\u4ef6\u67e5\u770b\u3001\u8d44\u6e90\u7ba1\u7406\u3001\u641c\u7d22\u6253\u5305\u538b\u7f29\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/65405.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux 3 \u6307\u4ee4(3):\u8fdb\u9636\u6307\u4ee4:\u6587\u4ef6\u67e5\u770b\u3001\u8d44\u6e90\u7ba1\u7406\u3001\u641c\u7d22\u6253\u5305\u538b\u7f29\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"&#x1f525;\u4e2a\u4eba\u4e3b\u9875&#xff1a;Milestone-\u91cc\u7a0b\u7891 \u2744\ufe0f\u4e2a\u4eba\u4e13\u680f:\u00a0&lt;&gt;\u00a0&lt;&gt;&lt;&gt; &lt;&gt;&lt;&gt; &#x1f31f;\u5fc3\u5411\u5f80\u4e4b\u884c\u5fc5\u80fd\u81f3 \u76ee\u5f55 \u4e00. \u6587\u4ef6\u5185\u5bb9\u64cd\u4f5c 1.1\u00a0cat&amp;&amp;tac :\u00a0 \u00a0\u6b63\u5e8f\/\u5012\u5e8f\u67e5\u770b\u6587\u4ef6 1.2 nano:\u7b80\u5355\u6613\u7528\u7684\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668 1.2.1\u5e38\u7528\u5feb\u6377\u952e 1.2.2\u9ad8\u7ea7\u529f\u80fd 1.2.3\u9002\u7528\u573a\u666f&#xff1a; 1.3 more&amp;&amp;less\u6307\u4ee4 \u67e5\u770b\u5927\u6587\u4ef6","og_url":"https:\/\/www.wsisp.com\/helps\/65405.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-24T15:04:27+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260124150426-6974df7a01aa0.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/65405.html","url":"https:\/\/www.wsisp.com\/helps\/65405.html","name":"Linux 3 \u6307\u4ee4(3):\u8fdb\u9636\u6307\u4ee4:\u6587\u4ef6\u67e5\u770b\u3001\u8d44\u6e90\u7ba1\u7406\u3001\u641c\u7d22\u6253\u5305\u538b\u7f29\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-24T15:04:27+00:00","dateModified":"2026-01-24T15:04:27+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/65405.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/65405.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/65405.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux 3 \u6307\u4ee4(3):\u8fdb\u9636\u6307\u4ee4:\u6587\u4ef6\u67e5\u770b\u3001\u8d44\u6e90\u7ba1\u7406\u3001\u641c\u7d22\u6253\u5305\u538b\u7f29\u8be6\u89e3"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/65405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=65405"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/65405\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/65404"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=65405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=65405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=65405"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=65405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}