{"id":117922,"date":"2026-10-25T22:56:26","date_gmt":"2026-10-25T14:56:26","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/117922.html"},"modified":"2026-10-25T22:56:26","modified_gmt":"2026-10-25T14:56:26","slug":"openeuler-%e6%96%87%e6%9c%ac%e6%9f%a5%e7%9c%8b-%e8%bd%af%e9%93%be%e6%8e%a5-%e7%a1%ac%e9%93%be%e6%8e%a5%e4%bf%9d%e5%a7%86%e7%ba%a7%e5%ae%9e%e6%88%98%ef%bc%9ahead-tail-more-less-%e4%b8%8e-ln","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/117922.html","title":{"rendered":"openEuler \u6587\u672c\u67e5\u770b + \u8f6f\u94fe\u63a5\/\u786c\u94fe\u63a5\u4fdd\u59c6\u7ea7\u5b9e\u6218\uff1ahead \/ tail \/ more \/ less \u4e0e ln\u3001ln -s \u4e00\u6b21\u641e\u61c2"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261025145624-6ade1898c628a.jpg\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" width=\"70\" height=\"70\"> <\/p>\n<p> <font color=\"#006666\">\ud83c\udfac \u535a\u4e3b\u540d\u79f0\uff1a\u4e00\u9e23<\/font> <\/p>\n<p> <font color=\"#66CDAA\">\ud83d\udd25 \u4e2a\u4eba\u4e13\u680f: \u300a\u82cd\u7a79\u5916\u5356\u300b\u300a\u559c\u559c\u300b<\/font> <\/p>\n<p> <font color=\"7B68EE\" size=\"4\">\u26fa\ufe0f\u751f\u6d3b\u7684\u7406\u60f3\uff0c\u5c31\u662f\u4e3a\u4e86\u7406\u60f3\u7684\u751f\u6d3b! <\/font> <\/p>\n<hr>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u7b2c\u4e00\u90e8\u5206\uff1a\u6587\u672c\u67e5\u770b\u547d\u4ee4\u5b9e\u6218<\/li>\n<li>\n<ul>\n<li>1.1 \u7ed9\u6587\u4ef6\u6dfb\u52a0\u6d4b\u8bd5\u6570\u636e\uff1a`&gt;` \u8986\u76d6 vs `&gt;&gt;` \u8ffd\u52a0<\/li>\n<li>1.2 cat \u4e00\u6b21\u663e\u793a\u591a\u4e2a\u6587\u4ef6\u5185\u5bb9<\/li>\n<li>1.3 more \u4e0e less \u5206\u9875\u67e5\u770b \/etc\/passwd\uff0c\u533a\u522b\u5728\u54ea<\/li>\n<li>1.4 head \u770b\u524d N \u884c\uff1a\/etc\/inittab \u524d 10 \u884c<\/li>\n<li>1.5 tail \u770b\u540e N \u884c\uff1a\/etc\/inittab \u540e 5 \u884c<\/li>\n<li>1.6 \u7b2c\u4e00\u90e8\u5206\u8bfe\u5802\u4f5c\u4e1a\u547d\u4ee4\u6c47\u603b<\/li>\n<\/ul>\n<\/li>\n<li>\u7b2c\u4e8c\u90e8\u5206\uff1a\u8f6f\u94fe\u63a5\u4e0e\u786c\u94fe\u63a5\uff08ln\uff09<\/li>\n<li>\n<ul>\n<li>2.1 \u5148\u5efa\u7acb\u76f4\u89c9\uff1a\u786c\u94fe\u63a5\u50cf\\&#8221;\u591a\u4e2a\u95e8\u724c\u53f7\\&#8221;\uff0c\u8f6f\u94fe\u63a5\u50cf\\&#8221;\u5feb\u6377\u65b9\u5f0f\\&#8221;<\/li>\n<li>2.2 \u7cfb\u7edf\u81ea\u5e26\u7684\u8f6f\u94fe\u63a5\u5b9e\u4f8b\uff1a\/dev\/cdrom -&gt; sr0<\/li>\n<li>2.3 \u8f6f\u94fe\u63a5 ln -s\uff1a\u5efa\u6cd5\u4e0e ls -l \u8bc6\u522b\u7279\u5f81<\/li>\n<li>2.4 \u786c\u94fe\u63a5 ln\uff1a\u5efa\u6cd5\u4e0e ls -l \u8bc6\u522b\u7279\u5f81<\/li>\n<li>2.5 \u5173\u952e\u5b9e\u9a8c\uff1a\u5220\u6389\u6e90\u6587\u4ef6\uff0c\u8c01\u8fd8\u6d3b\u7740\uff1f<\/li>\n<li>2.6 \u76ee\u5f55\u80fd\u4e0d\u80fd\u5efa\u94fe\u63a5\uff1f\u8f6f\u94fe\u63a5\u53ef\u4ee5\uff0c\u786c\u94fe\u63a5\u62a5\u9519<\/li>\n<li>2.7 \u8bfe\u4ef6\u6982\u5ff5\u603b\u7ed3\uff1a\u786c\u94fe\u63a5 vs \u8f6f\u94fe\u63a5\u4e00\u5f20\u8868<\/li>\n<li>2.8 \u7b2c\u4e8c\u90e8\u5206\u8bfe\u5802\u4f5c\u4e1a\uff08\u9644\u6807\u51c6\u7b54\u6848\uff09<\/li>\n<li>\u4e09\u3001\u4e00\u6761\u9f99\u5b8c\u6574\u811a\u672c\uff08\u53ef\u76f4\u63a5\u590d\u5236\u7167\u6572\uff09<\/li>\n<li>\u56db\u3001\u547d\u4ee4\u901f\u67e5\u8868\uff08\u5efa\u8bae\u6536\u85cf\uff09<\/li>\n<li>\u4e94\u3001\u65b0\u624b\u9ad8\u9891\u62a5\u9519\u5bf9\u7167\u8868<\/li>\n<li>\u516d\u3001\u603b\u7ed3<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr>\n<p>\u672c\u7bc7\u662f\u300aopenEuler \u6587\u4ef6\u7ba1\u7406\u547d\u4ee4\u4fdd\u59c6\u7ea7\u5b9e\u64cd\u300b\u7684\u7eed\u7bc7\uff0c\u627f\u63a5\u4e0a\u4e00\u7bc7\u7684 cat\uff0c\u7ee7\u7eed\u8bb2\u4e24\u4ef6\u4e8b\uff1a\u2460 \u600e\u4e48\u67e5\u770b\u6587\u672c\u6587\u4ef6\uff08\u591a\u6587\u4ef6\u3001\u5206\u9875\u3001\u770b\u5934\u770b\u5c3e\uff09\uff1b\u2461 Linux \u7684\u8f6f\u94fe\u63a5\u548c\u786c\u94fe\u63a5\u5230\u5e95\u662f\u4ec0\u4e48\u3001\u600e\u4e48\u5efa\u3001\u5220\u4e86\u6e90\u6587\u4ef6\u4f1a\u600e\u6837\u3002 \u73af\u5883\uff1aopenEuler \u7ec8\u7aef\uff0croot \u7528\u6237\uff0c\u63d0\u793a\u7b26 [root@\u4e3b\u673a\u540d \u5f53\u524d\u76ee\u5f55]#\u3002\u5efa\u8bae\u8fb9\u770b\u8fb9\u5728\u865a\u62df\u673a\u91cc\u540c\u6b65\u6572\u3002<\/p>\n<hr>\n<h2>\u7b2c\u4e00\u90e8\u5206\uff1a\u6587\u672c\u67e5\u770b\u547d\u4ee4\u5b9e\u6218<\/h2>\n<p>\u4efb\u52a1\u6e05\u5355\uff1a<\/p>\n<li>\u5728 file1.txt\u3001file2.txt \u6dfb\u52a0\u6d4b\u8bd5\u6570\u636e\uff1b<\/li>\n<li>\u4f7f\u7528 cat \u547d\u4ee4\u663e\u793a file1.txt\u3001file2.txt \u4e24\u4e2a\u6587\u4ef6\u5185\u5bb9\uff1b<\/li>\n<li>\u4f7f\u7528 more \u6216 less \u67e5\u770b\u6587\u4ef6 \/etc\/passwd\uff0c\u5e76\u6bd4\u8f83\u533a\u522b\uff1b<\/li>\n<li>\u67e5\u770b \/etc\/inittab \u6587\u4ef6\u524d 10 \u884c\u4fe1\u606f\uff1b<\/li>\n<li>\u67e5\u770b \/etc\/inittab \u6587\u4ef6\u540e 5 \u884c\u4fe1\u606f\u3002<\/li>\n<h3>1.1 \u7ed9\u6587\u4ef6\u6dfb\u52a0\u6d4b\u8bd5\u6570\u636e\uff1a&gt; \u8986\u76d6 vs &gt;&gt; \u8ffd\u52a0<\/h3>\n<p>\u4e0a\u4e00\u7bc7\u8bb2\u8fc7 echo \\&#8221;\u6587\u5b57\\&#8221; &gt; \u6587\u4ef6 \u662f\u8986\u76d6\u5199\uff1a\u539f\u5185\u5bb9\u88ab\u66ff\u6362\u3002\u8fd9\u4e00\u8282\u4f5c\u4e1a\u662f\\&#8221;\u6dfb\u52a0\u6d4b\u8bd5\u6570\u636e\\&#8221;\uff0c\u5982\u679c\u4e0d\u60f3\u628a\u539f\u6709\u5185\u5bb9\u51b2\u6389\uff0c\u8981\u7528\u8ffd\u52a0\u7b26\u53f7 &gt;&gt;\uff1a<\/p>\n<p><span class=\"token comment\"># &gt; \u8986\u76d6\u5199\uff1a\u539f\u5185\u5bb9\u6ca1\u4e86\uff0c\u53ea\u5269\u8fd9\u4e00\u884c<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">\\&#8221;hello file1\\&#8221;<\/span> <span class=\"token operator\">&gt;<\/span> file1.txt<\/p>\n<p><span class=\"token comment\"># &gt;&gt; \u8ffd\u52a0\u5199\uff1a\u5728\u6587\u4ef6\u672b\u5c3e\u518d\u6dfb\u4e00\u884c\uff0c\u539f\u5185\u5bb9\u4fdd\u7559<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">\\&#8221;this is line 2\\&#8221;<\/span> <span class=\"token operator\">&gt;&gt;<\/span> file1.txt<br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">\\&#8221;this is line 3\\&#8221;<\/span> <span class=\"token operator\">&gt;&gt;<\/span> file1.txt<\/p>\n<table>\n<tr>\n   \u7b26\u53f7<br \/>\n   \u884c\u4e3a<br \/>\n   \u539f\u5185\u5bb9<br \/>\n  <\/tr>\n<tbody>\n<tr>\n<td>&gt;<\/td>\n<td>\u8986\u76d6\u5199<\/td>\n<td>\u88ab\u6e05\u7a7a\u66ff\u6362<\/td>\n<\/tr>\n<tr>\n<td>&gt;&gt;<\/td>\n<td>\u8ffd\u52a0\u5199<\/td>\n<td>\u4fdd\u7559\uff0c\u5728\u672b\u5c3e\u65b0\u589e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5927\u767d\u8bdd\uff1a&gt; \u50cf\u628a\u7eb8\u63c9\u6389\u91cd\u5199\uff0c&gt;&gt; \u50cf\u5728\u6587\u7ae0\u540e\u9762\u63a5\u7740\u5f80\u4e0b\u5199\u3002<\/p>\n<h3>1.2 cat \u4e00\u6b21\u663e\u793a\u591a\u4e2a\u6587\u4ef6\u5185\u5bb9<\/h3>\n<p>cat \u540e\u9762\u53ef\u4ee5\u8ddf\u591a\u4e2a\u6587\u4ef6\u540d\uff0c\u7a7a\u683c\u9694\u5f00\uff0c\u7cfb\u7edf\u4f1a\u6309\u987a\u5e8f\u628a\u5b83\u4eec\u7684\u5185\u5bb9\u4f9d\u6b21\u62fc\u63a5\u8f93\u51fa\uff1a<\/p>\n<p><span class=\"token function\">cat<\/span> file1.txt file2.txt<\/p>\n<ul>\n<li>\u5148\u6253\u5370 file1.txt \u5168\u90e8\u5185\u5bb9\uff0c\u7d27\u63a5\u7740\u6253\u5370 file2.txt \u5168\u90e8\u5185\u5bb9\uff1b<\/li>\n<li>\u9002\u5408\u5feb\u901f\u770b\u5b8c\u51e0\u4e2a\u5c0f\u6587\u4ef6\uff0c\u4e0d\u9700\u8981\u6765\u56de\u5207\u6362\u3002<\/li>\n<\/ul>\n<h3>1.3 more \u4e0e less \u5206\u9875\u67e5\u770b \/etc\/passwd\uff0c\u533a\u522b\u5728\u54ea<\/h3>\n<p>\/etc\/passwd \u662f\u7cfb\u7edf\u7528\u6237\u4fe1\u606f\u6587\u4ef6\uff0c\u5185\u5bb9\u4e00\u5c4f\u653e\u4e0d\u4e0b\uff0c\u8fd9\u65f6\u7528\u5206\u9875\u547d\u4ee4\uff1a<\/p>\n<p><span class=\"token function\">more<\/span> \/etc\/passwd<br \/>\n<span class=\"token function\">less<\/span> \/etc\/passwd<\/p>\n<table>\n<tr>\n   \u5bf9\u6bd4\u9879<br \/>\n   more<br \/>\n   less<br \/>\n  <\/tr>\n<tbody>\n<tr>\n<td>\u7ffb\u9875\u65b9\u5411<\/td>\n<td>\u53ea\u80fd\u5411\u4e0b\u7ffb\uff08\u7a7a\u683c\u4e0b\u4e00\u9875\u3001\u56de\u8f66\u4e0b\u4e00\u884c\uff09<\/td>\n<td>\u4e0a\u4e0b\u81ea\u7531\u7ffb\uff08\u65b9\u5411\u952e \/ PgUp \/ PgDn\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u5230\u6587\u4ef6\u672b\u5c3e<\/td>\n<td>\u81ea\u52a8\u9000\u51fa<\/td>\n<td>\u505c\u5728\u672b\u5c3e\uff0c\u6309 q \u9000\u51fa<\/td>\n<\/tr>\n<tr>\n<td>\u5f80\u56de\u7ffb<\/td>\n<td>\u4e0d\u652f\u6301<\/td>\n<td>\u652f\u6301<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u90e8\u641c\u7d22<\/td>\n<td>\u5f31<\/td>\n<td>\u652f\u6301 \/\u5173\u952e\u8bcd \u641c\u7d22<\/td>\n<\/tr>\n<tr>\n<td>\u5927\u6587\u4ef6\u52a0\u8f7d<\/td>\n<td>\u4e00\u6b21\u6027\u8f7d\u5165<\/td>\n<td>\u6309\u9700\u52a0\u8f7d\uff0c\u5927\u6587\u4ef6\u66f4\u6d41\u7545<\/td>\n<\/tr>\n<tr>\n<td>\u9000\u51fa<\/td>\n<td>\u770b\u5b8c\u81ea\u52a8\u8d70<\/td>\n<td>\u6309 q \u9000\u51fa<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7ed3\u8bba\uff1a\u65e5\u5e38\u957f\u6587\u4ef6\u4f18\u5148\u7528 less\uff0c\u529f\u80fd\u66f4\u5f3a\u3001\u80fd\u5f80\u56de\u7ffb\uff1bmore \u662f\u66f4\u8001\u66f4\u7b80\u5355\u7684\u5206\u9875\u5668\u3002<\/p>\n<h3>1.4 head \u770b\u524d N \u884c\uff1a\/etc\/inittab \u524d 10 \u884c<\/h3>\n<p>head \u9ed8\u8ba4\u770b\u6587\u4ef6\u5f00\u5934 10 \u884c\uff0c\u6307\u5b9a\u884c\u6570\u7528 -n\uff1a<\/p>\n<p><span class=\"token function\">head<\/span> \/etc\/inittab          <span class=\"token comment\"># \u9ed8\u8ba4\u524d 10 \u884c<\/span><br \/>\n<span class=\"token function\">head<\/span> <span class=\"token parameter variable\">-10<\/span> \/etc\/inittab      <span class=\"token comment\"># \u660e\u786e\u6307\u5b9a\u524d 10 \u884c\uff08\u7b49\u4ef7\u5199\u6cd5 head -n 10 \/etc\/inittab\uff09<\/span><\/p>\n<h3>1.5 tail \u770b\u540e N \u884c\uff1a\/etc\/inittab \u540e 5 \u884c<\/h3>\n<p>tail \u4e0e head \u76f8\u53cd\uff0c\u770b\u6587\u4ef6\u672b\u5c3e\uff0c\u8bfe\u5802\u5b9e\u5f55\u7528 -5 \u6307\u5b9a\u540e 5 \u884c\uff1a<\/p>\n<p><span class=\"token function\">tail<\/span> <span class=\"token parameter variable\">-5<\/span> \/etc\/inittab       <span class=\"token comment\"># \u770b\u6700\u540e 5 \u884c\uff08\u7b49\u4ef7 tail -n 5 \/etc\/inittab\uff09<\/span><\/p>\n<p>\u622a\u56fe\u91cc\u8f93\u51fa\u7684\u6b63\u662f inittab \u6587\u4ef6\u6700\u672b\u5c3e 5 \u884c\uff08systemctl get-default \/ set-default \u7684\u6ce8\u91ca\u8bf4\u660e\uff09\u3002<\/p>\n<p>\u8bb0\u5fc6\u53e3\u8bc0\uff1ahead \u770b\u5934\uff0ctail \u770b\u5c3e\uff0c-n \u6570\u5b57 \u5b9a\u884c\u6570\u3002<\/p>\n<h3>1.6 \u7b2c\u4e00\u90e8\u5206\u8bfe\u5802\u4f5c\u4e1a\u547d\u4ee4\u6c47\u603b<\/h3>\n<p><span class=\"token comment\"># 1. \u6dfb\u52a0\u6d4b\u8bd5\u6570\u636e\uff08&gt;&gt; \u8ffd\u52a0\uff0c\u4e0d\u8986\u76d6\uff09<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">\\&#8221;hello file1\\&#8221;<\/span> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83c\udfac \u535a\u4e3b\u540d\u79f0\uff1a\u4e00\u9e23 \ud83d\udd25 \u4e2a\u4eba\u4e13\u680f: \u300a\u82cd\u7a79\u5916\u5356\u300b\u300a\u559c\u559c\u300b \u26fa\ufe0f\u751f\u6d3b\u7684\u7406\u60f3\uff0c\u5c31\u662f\u4e3a\u4e86\u7406\u60f3\u7684\u751f\u6d3b!  \u6587\u7ae0\u76ee\u5f55 \u7b2c\u4e00\u90e8\u5206\uff1a\u6587\u672c\u67e5\u770b\u547d\u4ee4\u5b9e\u6218 1.1 \u7ed9\u6587\u4ef6\u6dfb\u52a0\u6d4b\u8bd5\u6570\u636e\uff1a`&gt;` \u8986\u76d6 vs `&gt;&gt;` \u8ffd\u52a0 1.2 cat \u4e00\u6b21\u663e\u793a\u591a\u4e2a\u6587\u4ef6\u5185\u5bb9 1.3 more \u4e0e less \u5206\u9875\u67e5\u770b \/etc\/passwd\uff0c\u533a\u522b\u5728\u54ea 1.4 head \u770b\u524d N \u884c\uff1a\/etc\/inittab \u524d 10 \u884c 1.5 tail \u770b\u540e N \u884c\uff1a\/etc\/inittab \u540e 5 \u884c 1.6 \u7b2c\u4e00\u90e8\u5206\u8bfe\u5802<\/p>\n","protected":false},"author":2,"featured_media":117921,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13178,868],"topic":[],"class_list":["post-117922","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-1024---","tag-868"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>openEuler \u6587\u672c\u67e5\u770b + \u8f6f\u94fe\u63a5\/\u786c\u94fe\u63a5\u4fdd\u59c6\u7ea7\u5b9e\u6218\uff1ahead \/ tail \/ more \/ less \u4e0e ln\u3001ln -s \u4e00\u6b21\u641e\u61c2 - \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\/117922.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"openEuler \u6587\u672c\u67e5\u770b + \u8f6f\u94fe\u63a5\/\u786c\u94fe\u63a5\u4fdd\u59c6\u7ea7\u5b9e\u6218\uff1ahead \/ tail \/ more \/ less \u4e0e ln\u3001ln -s \u4e00\u6b21\u641e\u61c2 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\ud83c\udfac \u535a\u4e3b\u540d\u79f0\uff1a\u4e00\u9e23 \ud83d\udd25 \u4e2a\u4eba\u4e13\u680f: \u300a\u82cd\u7a79\u5916\u5356\u300b\u300a\u559c\u559c\u300b \u26fa\ufe0f\u751f\u6d3b\u7684\u7406\u60f3\uff0c\u5c31\u662f\u4e3a\u4e86\u7406\u60f3\u7684\u751f\u6d3b! \u6587\u7ae0\u76ee\u5f55 \u7b2c\u4e00\u90e8\u5206\uff1a\u6587\u672c\u67e5\u770b\u547d\u4ee4\u5b9e\u6218 1.1 \u7ed9\u6587\u4ef6\u6dfb\u52a0\u6d4b\u8bd5\u6570\u636e\uff1a`&gt;` \u8986\u76d6 vs `&gt;&gt;` \u8ffd\u52a0 1.2 cat \u4e00\u6b21\u663e\u793a\u591a\u4e2a\u6587\u4ef6\u5185\u5bb9 1.3 more \u4e0e less \u5206\u9875\u67e5\u770b \/etc\/passwd\uff0c\u533a\u522b\u5728\u54ea 1.4 head \u770b\u524d N \u884c\uff1a\/etc\/inittab \u524d 10 \u884c 1.5 tail \u770b\u540e N \u884c\uff1a\/etc\/inittab \u540e 5 \u884c 1.6 \u7b2c\u4e00\u90e8\u5206\u8bfe\u5802\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/117922.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-25T14:56:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261025145624-6ade1898c628a.jpg\" \/>\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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/117922.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/117922.html\",\"name\":\"openEuler \u6587\u672c\u67e5\u770b + \u8f6f\u94fe\u63a5\/\u786c\u94fe\u63a5\u4fdd\u59c6\u7ea7\u5b9e\u6218\uff1ahead \/ tail \/ more \/ less \u4e0e ln\u3001ln -s \u4e00\u6b21\u641e\u61c2 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-25T14:56:26+00:00\",\"dateModified\":\"2026-10-25T14:56:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/117922.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/117922.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/117922.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"openEuler \u6587\u672c\u67e5\u770b + \u8f6f\u94fe\u63a5\/\u786c\u94fe\u63a5\u4fdd\u59c6\u7ea7\u5b9e\u6218\uff1ahead \/ tail \/ more \/ less \u4e0e ln\u3001ln -s \u4e00\u6b21\u641e\u61c2\"}]},{\"@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":"openEuler \u6587\u672c\u67e5\u770b + \u8f6f\u94fe\u63a5\/\u786c\u94fe\u63a5\u4fdd\u59c6\u7ea7\u5b9e\u6218\uff1ahead \/ tail \/ more \/ less \u4e0e ln\u3001ln -s \u4e00\u6b21\u641e\u61c2 - \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\/117922.html","og_locale":"zh_CN","og_type":"article","og_title":"openEuler \u6587\u672c\u67e5\u770b + \u8f6f\u94fe\u63a5\/\u786c\u94fe\u63a5\u4fdd\u59c6\u7ea7\u5b9e\u6218\uff1ahead \/ tail \/ more \/ less \u4e0e ln\u3001ln -s \u4e00\u6b21\u641e\u61c2 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\ud83c\udfac \u535a\u4e3b\u540d\u79f0\uff1a\u4e00\u9e23 \ud83d\udd25 \u4e2a\u4eba\u4e13\u680f: \u300a\u82cd\u7a79\u5916\u5356\u300b\u300a\u559c\u559c\u300b \u26fa\ufe0f\u751f\u6d3b\u7684\u7406\u60f3\uff0c\u5c31\u662f\u4e3a\u4e86\u7406\u60f3\u7684\u751f\u6d3b! \u6587\u7ae0\u76ee\u5f55 \u7b2c\u4e00\u90e8\u5206\uff1a\u6587\u672c\u67e5\u770b\u547d\u4ee4\u5b9e\u6218 1.1 \u7ed9\u6587\u4ef6\u6dfb\u52a0\u6d4b\u8bd5\u6570\u636e\uff1a`&gt;` \u8986\u76d6 vs `&gt;&gt;` \u8ffd\u52a0 1.2 cat \u4e00\u6b21\u663e\u793a\u591a\u4e2a\u6587\u4ef6\u5185\u5bb9 1.3 more \u4e0e less \u5206\u9875\u67e5\u770b \/etc\/passwd\uff0c\u533a\u522b\u5728\u54ea 1.4 head \u770b\u524d N \u884c\uff1a\/etc\/inittab \u524d 10 \u884c 1.5 tail \u770b\u540e N \u884c\uff1a\/etc\/inittab \u540e 5 \u884c 1.6 \u7b2c\u4e00\u90e8\u5206\u8bfe\u5802","og_url":"https:\/\/www.wsisp.com\/helps\/117922.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-25T14:56:26+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261025145624-6ade1898c628a.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/117922.html","url":"https:\/\/www.wsisp.com\/helps\/117922.html","name":"openEuler \u6587\u672c\u67e5\u770b + \u8f6f\u94fe\u63a5\/\u786c\u94fe\u63a5\u4fdd\u59c6\u7ea7\u5b9e\u6218\uff1ahead \/ tail \/ more \/ less \u4e0e ln\u3001ln -s \u4e00\u6b21\u641e\u61c2 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-25T14:56:26+00:00","dateModified":"2026-10-25T14:56:26+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/117922.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/117922.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/117922.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"openEuler \u6587\u672c\u67e5\u770b + \u8f6f\u94fe\u63a5\/\u786c\u94fe\u63a5\u4fdd\u59c6\u7ea7\u5b9e\u6218\uff1ahead \/ tail \/ more \/ less \u4e0e ln\u3001ln -s \u4e00\u6b21\u641e\u61c2"}]},{"@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\/117922","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=117922"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/117922\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/117921"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=117922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=117922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=117922"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=117922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}