{"id":71879,"date":"2026-02-04T12:58:07","date_gmt":"2026-02-04T04:58:07","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/71879.html"},"modified":"2026-02-04T12:58:07","modified_gmt":"2026-02-04T04:58:07","slug":"%e6%b7%b1%e5%85%a5%e6%b5%85%e5%87%balinux%ef%bc%9a%e5%88%ab%e5%86%8d%e8%af%b4%e4%bd%a0%e4%b8%8d%e6%87%82linux%e6%8c%87%e4%bb%a4%e4%ba%86%ef%bc%81%e4%b8%80%e6%96%87%e6%90%9e%e5%ae%9a7%e4%b8%aa%e9%ab%98","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/71879.html","title":{"rendered":"\u6df1\u5165\u6d45\u51faLinux\uff1a\u522b\u518d\u8bf4\u4f60\u4e0d\u61c2Linux\u6307\u4ee4\u4e86\uff01\u4e00\u6587\u641e\u5b9a7\u4e2a\u9ad8\u9891\u6307\u4ee4\uff0c\u8ba9\u4f60 Linux \u6548\u7387\u7ffb\u500d\uff01"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260204045805-6982d1dda7eb4.gif\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260204045805-6982d1ddb66d5.gif\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/p>\n<p> &#x1f525;&#064;\u96fe\u5ff1\u661f&#xff1a; \u4e2a\u4eba\u4e3b\u9875 &#x1f440;\u4e13\u680f&#xff1a;\u300aC&#043;&#043;\u5b66\u4e60\u4e4b\u65c5\u300b\u3001\u300aLinux\u5b66\u4e60\u6307\u5357\u300b &#x1f4aa;\u5b66\u4e60\u9636\u6bb5&#xff1a;C\/C&#043;&#043;\u3001Linux \u23f3\u201c\u4eba\u7406\u89e3\u8fed\u4ee3&#xff0c;\u795e\u7406\u89e3\u9012\u5f52\u3002\u201d<\/p>\n<hr \/>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u5f15\u8a00<\/li>\n<li>\u4e00\u3001Linux\u6307\u4ee4\u7684\u672c\u8d28<\/li>\n<li>\n<ul>\n<li>1.1 \u6307\u4ee4\u7684\u4e24\u79cd\u7c7b\u578b&#xff1a;\u5916\u90e8\u4e0e\u5185\u90e8<\/li>\n<li>1.2 Linux \u7684\u201c\u4e00\u5207\u7686\u6587\u4ef6\u201d<\/li>\n<\/ul>\n<\/li>\n<li>\u4e8c\u3001Linux \u9ad8\u9891\u8f85\u52a9\u6307\u4ee4\u8d85\u8be6\u89e3<\/li>\n<li>\n<ul>\n<li>2.1 which&#xff1a;\u6307\u4ee4\u7684\u201c\u5b9a\u4f4d\u5668\u201d<\/li>\n<li>2.2 alias&#xff1a;\u81ea\u5b9a\u4e49\u6307\u4ee4\u7684\u201c\u5feb\u6377\u65b9\u5f0f\u201d<\/li>\n<li>2.3 man&#xff1a;\u6307\u4ee4\u7684\u201c\u79bb\u7ebf\u8bf4\u660e\u4e66\u201d<\/li>\n<li>2.4 echo&#xff1a;\u7ec8\u7aef\u8f93\u51fa\u5185\u5bb9\u7684\u201c\u5c0f\u5587\u53ed\u201d<\/li>\n<li>\n<ul>\n<li>2.4.1 \u914d\u5408\u91cd\u5b9a\u5411\u7b26\u53f7<\/li>\n<\/ul>\n<\/li>\n<li>2.5 cp&#xff1a;\u6587\u4ef6\/\u76ee\u5f55\u7684\u201c\u590d\u5236\u7c98\u8d34\u201d<\/li>\n<li>2.7 mv&#xff1a;\u6587\u4ef6\/\u76ee\u5f55\u7684\u201c\u526a\u5207\u7c98\u8d34&#043;\u91cd\u547d\u540d\u201d<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001\u9ad8\u9891\u6307\u4ee4\u8981\u70b9\u603b\u7ed3\u8868\u683c<\/li>\n<li>\u603b\u7ed3<\/li>\n<\/ul>\n<hr \/>\n<h2>\u5f15\u8a00<\/h2>\n<p>\u2003\u2003 \u5bf9\u4e8e Linux \u521d\u5b66\u8005\u800c\u8a00&#xff0c;\u6700\u76f4\u89c2\u7684\u611f\u53d7\u662f \u201c\u4e00\u5207\u7686\u6307\u4ee4\u201d\u2014\u2014 \u67e5\u770b\u6587\u4ef6\u3001\u7ba1\u7406\u76ee\u5f55\u3001\u67e5\u8be2\u7528\u6cd5\u7b49\u64cd\u4f5c&#xff0c;\u90fd\u9700\u901a\u8fc7\u6307\u4ee4\u5b8c\u6210\u3002\u4e0e Windows \u56fe\u5f62\u5316\u64cd\u4f5c\u4e0d\u540c&#xff0c;Linux \u4ee5\u547d\u4ee4\u884c\u4e3a\u6838\u5fc3&#xff0c;\u6307\u4ee4\u638c\u63e1\u7a0b\u5ea6\u76f4\u63a5\u51b3\u5b9a\u64cd\u4f5c\u6548\u7387\u4e0e\u7cfb\u7edf\u9a7e\u9a6d\u529b\u3002 \u2003\u2003 \u5f88\u591a\u521d\u5b66\u8005\u4f1a\u88ab\u7e41\u6742\u7684\u6307\u4ee4\u540d\u79f0\u3001\u8bed\u6cd5\u683c\u5f0f\u529d\u9000&#xff0c;\u751a\u81f3\u5206\u4e0d\u6e05\u6838\u5fc3\u7528\u9014&#xff0c;\u6bd4\u5982 cp \u4e0e mv \u7684\u533a\u522b\u3001&gt; \u4e0e &gt;&gt;\u7684\u5dee\u5f02\u7b49\u3002\u672c\u6587\u4ece\u6307\u4ee4\u672c\u8d28\u5207\u5165&#xff0c;\u5e2e\u5927\u5bb6\u5efa\u7acb\u6838\u5fc3\u8ba4\u77e5&#xff0c;\u62c6\u89e3\u9ad8\u9891\u6307\u4ee4\u7528\u6cd5&#xff0c;\u68b3\u7406\u5173\u952e\u8981\u70b9&#xff0c;\u52a9\u5927\u5bb6\u5feb\u901f\u8de8\u8fc7 Linux \u6307\u4ee4\u5165\u95e8\u95e8\u69db\u3002<\/p>\n<hr \/>\n<h2>\u4e00\u3001Linux\u6307\u4ee4\u7684\u672c\u8d28<\/h2>\n<h3>1.1 \u6307\u4ee4\u7684\u4e24\u79cd\u7c7b\u578b&#xff1a;\u5916\u90e8\u4e0e\u5185\u90e8<\/h3>\n<p>\u2003\u2003\u4e00\u53e5\u8bdd\u603b\u7ed3&#xff1a; \u7edd\u5927\u591a\u6570 Linux \u6307\u4ee4&#xff0c;\u672c\u8d28\u4e0a\u5c31\u662f\u4e00\u4e2a\u4e2a\u7f16\u8bd1\u597d\u7684\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u7a0b\u5e8f&#xff0c;\u5f53\u7136\u5e76\u975e\u6240\u6709\u6307\u4ee4\u90fd\u4e00\u6837\u3002<\/p>\n<ul>\n<li>\u5916\u90e8\u6307\u4ee4\u2013&gt;\u7edd\u5927\u591a\u6570&#xff1a;\u672c\u8d28\u662f\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6&#xff0c;\u5982ls\u3001cp\u3001mv\u7b49&#xff0c;\u7531Shell\u521b\u5efa\u4e00\u4e2a\u5b50\u7a0b\u5e8f&#xff0c;\u7136\u540eexec\u52a0\u8f7d\u6587\u4ef6\u3002<\/li>\n<li>\u5185\u90e8\u6307\u4ee4\u2013&gt;\u5c11\u90e8\u5206&#xff1a;\u672c\u8d28\u662fShell\u7a0b\u5e8f\u6e90\u4ee3\u7801\u7684\u4e00\u90e8\u5206&#xff0c;\u5982cd\u3001echo\u7b49\u3002<\/li>\n<\/ul>\n<p>\u5728 Linux \u4e2d&#xff0c;\u8ba4\u4e3a\u6307\u4ee4\u3001\u53ef\u6267\u884c\u7a0b\u5e8f\u3001\u4e8c\u8fdb\u5236\u6587\u4ef6\u3001\u53ef\u6267\u884c\u6587\u4ef6\u7b49\u662f\u4e00\u56de\u4e8b\u3002<\/p>\n<h3>1.2 Linux \u7684\u201c\u4e00\u5207\u7686\u6587\u4ef6\u201d<\/h3>\n<p>\u2003\u2003\u5728 Windows \u91cc&#xff0c;\u6587\u4ef6\u662f\u6587\u4ef6&#xff0c;\u786c\u4ef6\u662f\u786c\u4ef6&#xff0c;\u8bbe\u5907\u662f\u8bbe\u5907&#xff0c;\u754c\u9650\u5206\u660e\u3002\u4f46\u662f\u5728 Linux \u773c\u91cc&#xff0c;\u4e07\u7269\u7686\u662f\u6587\u4ef6&#xff0c;\u90fd\u53ef\u4ee5\u901a\u8fc7\u8def\u5f84\u627e\u5230\u3002<\/p>\n<p>\u2003\u2003\u91c7\u7528\u201c\u4e00\u5207\u7686\u6587\u4ef6\u201d\u7684\u8bbe\u8ba1&#xff0c;\u5e26\u6765\u4e86\u5de8\u5927\u597d\u5904&#xff1a;\u63a5\u53e3\u7edf\u4e00\u3002\u4e0d\u7ba1\u662f\u64cd\u4f5c\u7684\u666e\u901a\u6587\u4ef6\u8fd8\u662f\u786c\u76d8\u6570\u636e\u7b49&#xff0c;\u64cd\u4f5c\u65b9\u6cd5\u90fd\u662f\u4e00\u6837\u7684&#xff1a;<\/p>\n<ul>\n<li>\u8bfb\u6570\u636e&#xff1a; \u7531read()\u64cd\u4f5c&#xff1b;<\/li>\n<li>\u5199\u6570\u636e&#xff1a; \u7531write()\u64cd\u505a&#xff1b;<\/li>\n<li>\u5173\u95ed&#xff1a; \u7531close\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<p>\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token comment\">#\u67e5\u770bCPU\u4fe1\u606f<\/span><br \/>\n<span class=\"token function\">cat<\/span> \/proc\/cpuinfo<\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u78c1\u76d8\u5206\u533a\u8868<\/span><br \/>\n<span class=\"token function\">cat<\/span> \/proc\/partitions<\/p>\n<hr \/>\n<h2>\u4e8c\u3001Linux \u9ad8\u9891\u8f85\u52a9\u6307\u4ee4\u8d85\u8be6\u89e3<\/h2>\n<h3>2.1 which&#xff1a;\u6307\u4ee4\u7684\u201c\u5b9a\u4f4d\u5668\u201d<\/h3>\n<p>\u2003\u2003\u521a\u63a5\u89e6\u6307\u4ee4\u65f6&#xff0c;\u53ef\u80fd\u60f3\u8fd9\u4e9b\u6307\u4ee4\u90fd\u5728\u54ea\u5462&#xff1f; \u90a3\u4e48which\u6307\u4ee4\u5c31\u662f\u7528\u6765 \u201c\u67e5\u627e\u6307\u4ee4\u7684\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\u201d \u7684\u3002<\/p>\n<p>\u8bed\u6cd5&#xff1a; which [\u9009\u9879] \u6307\u4ee4\u540d\u3002 \u529f\u80fd&#xff1a; \u67e5\u627e\u7cfb\u7edf\u4e2d\u6307\u5b9a\u6307\u4ee4\u7684\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\u3002<\/p>\n<p>\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token comment\">#\u67e5\u627epwd<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># which pwd<\/span><br \/>\n\/usr\/bin\/pwd<\/p>\n<p><span class=\"token comment\">#\u67e5\u627ecd<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># which cd<\/span><br \/>\n\/usr\/bin\/cd<\/p>\n<p><span class=\"token comment\">#\u67e5\u627els<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># which ls<\/span><br \/>\n<span class=\"token builtin class-name\">alias<\/span> <span class=\"token assign-left variable\">ls<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;ls &#8211;color&#061;auto&#039;<\/span><br \/>\n\/usr\/bin\/ls<\/p>\n<p>\u4ee3\u7801\u4e2d\u6d89\u53ca\u5230\u7684alisa\u6307\u4ee4\u4f1a\u5728\u4e0b\u9762\u8bf4&#xff0c;\u7b80\u5355\u8bf4\u5c31\u662f\u4e3a\u6307\u4ee4\u8d77\u4e00\u4e2a\u522b\u540d\u3002<\/p>\n<h3>2.2 alias&#xff1a;\u81ea\u5b9a\u4e49\u6307\u4ee4\u7684\u201c\u5feb\u6377\u65b9\u5f0f\u201d<\/h3>\n<p>\u2003\u2003\u5728\u524d\u9762&#xff0c;\u53ef\u80fd\u53d1\u73b0\u4e3a\u4ec0\u4e48\u6307\u4ee4ll\u548cls\u7684\u529f\u80fd\u5dee\u4e0d\u591a&#xff0c;\u4f46\u662f\u6ca1\u89c1\u8fc7ll\u3002\u8fd9\u662f\u56e0\u4e3aLinux\u7684alias\u4e3a\u4e00\u4e9b\u5e38\u7528\u6307\u4ee4\u7684\u9009\u9879\u7ec4\u5408\u8d77\u4e86\u522b\u540d&#xff0c;\u65b9\u4fbf\u8f93\u5165\u3002<\/p>\n<p>\u8bed\u6cd5&#xff1a;<\/p>\n<ul>\n<li>\u521b\u5efa\u81ea\u5b9a\u4e49\u6307\u4ee4\u522b\u540d&#xff1a;alias \u522b\u540d&#061;\u201c\u5bf9\u5e94\u7684\u957f\u6307\u4ee4\u201d<\/li>\n<li>\u67e5\u770b\u7cfb\u7edf\u5df2\u6709\u7684\u522b\u540d&#xff1a;alias<\/li>\n<li>\u5220\u9664\u81ea\u5b9a\u4e49\u522b\u540d&#xff1a;unalias<\/li>\n<\/ul>\n<p>\u529f\u80fd&#xff1a; \u4e3a\u957f\u547d\u4ee4\u8bbe\u7f6e\u7b80\u77ed\u522b\u540d&#xff0c;\u63d0\u9ad8\u6548\u7387\u3002<\/p>\n<p>\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token comment\">#\u5b9a\u4e49ls\u522b\u540d<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># alias zs&#061;&#034;ls&#034;<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># zs<\/span><br \/>\nB  <span class=\"token builtin class-name\">test<\/span>  test1  test2  test3<\/p>\n<p><span class=\"token comment\">#\u5220\u9664\u81ea\u5b9a\u4e49\u522b\u540d<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># unalias zs<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># zs<\/span><br \/>\n-bash: zs: <span class=\"token builtin class-name\">command<\/span> not found<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># <\/span><\/p>\n<p>\u4f46\u662f\u5efa\u8bae\u81ea\u5df1\u4e0d\u8981\u7ed9\u6307\u4ee4\u8d77\u522b\u540d&#xff1a;\u4e00\u6765&#xff0c;\u662f\u5728\u4f60\u5173\u6389\u8f6f\u4ef6\u540e&#xff0c;\u81ea\u5b9a\u4e49\u7684\u4e34\u65f6\u522b\u540d\u5c31\u4f1a\u88ab\u5220\u9664&#xff1b;\u4e8c\u6765&#xff0c;\u4e07\u4e00\u5728\u81ea\u5df1\u7535\u8111\u4e0a\u4e60\u60ef\u4e86\u7528\u81ea\u5b9a\u4e49\u7684\u522b\u540d&#xff0c;\u8ba9\u4f60\u53bb\u522b\u7684\u7535\u8111\u64cd\u4f5c\u5c31\u4f1a\u5f88\u522b\u626d\u3002<\/p>\n<p>\u3010\u989d\u5916\u8bf4\u660e\u3011 alias ls&#061;&#039;ls &#8211;color&#061;auto&#039;\u91cc\u9762\u7684&#8211;color&#061;auto\u662f\u4ec0\u4e48&#xff1f;<\/p>\n<p>\u76f4\u89c2\u611f\u53d7\u4e00\u4e0b&#xff1a;<\/p>\n<p><span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls<\/span><br \/>\nB  <span class=\"token builtin class-name\">test<\/span>  test1  test2  test3<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># \/usr\/bin\/ls<\/span><br \/>\nB  <span class=\"token builtin class-name\">test<\/span>  test1test2  test3<\/p>\n<p>\u5f53\u76f4\u63a5\u8f93\u5165ls\u5728\u4f60\u7684\u754c\u9762\u91cc\u663e\u793a\u7684\u662f\u6709\u989c\u8272\u7684\u51e0\u4e2a\u6587\u4ef6\u6216\u8005\u76ee\u5f55\u3002\u800c\u901a\u8fc7\u8def\u5f84\u4f7f\u7528\u7684\u6307\u4ee4\u662f\u4e0d\u663e\u793a\u989c\u8272\u7684\u3002<\/p>\n<h3>2.3 man&#xff1a;\u6307\u4ee4\u7684\u201c\u79bb\u7ebf\u8bf4\u660e\u4e66\u201d<\/h3>\n<p>\u2003\u2003\u521a\u63a5\u89e6 Linux \u6700\u5934\u75bc\u7684\u5c31\u662f\u5404\u79cd\u6307\u4ee4\u7684\u4f5c\u7528\u5206\u522b\u662f\u4ec0\u4e48\u3002\u578b\u53f7 Linux \u6709\u7740\u81ea\u5e26\u7684\u201c\u79bb\u7ebf\u5e2e\u52a9\u624b\u518c\u201d&#xff0c;\u80fd\u591f\u67e5\u770b\u4efb\u4f55\u6307\u4ee4\u7684\u8be6\u7ec6\u7528\u6cd5\u3001\u9009\u9879\u8bf4\u660e\u3001\u793a\u4f8b\u3002<\/p>\n<p>\u8bed\u6cd5&#xff1a;man [\u9009\u9879] \u8981\u67e5\u8be2\u7684&#xff08;\u6307\u4ee4\/\u914d\u7f6e\u6587\u4ef6&#xff09; \u529f\u80fd&#xff1a; \u67e5\u770b\u6307\u5b9a\u6307\u4ee4\u3001\u914d\u7f6e\u6587\u4ef6\u6216\u7cfb\u7edf\u8c03\u7528\u7684\u5e2e\u52a9\u6587\u4ef6<\/p>\n<p>\u3010\u5e38\u7528\u9009\u9879\u3011&#xff1a;<\/p>\n<ul>\n<li>-k\u6839\u636e\u5173\u952e\u5b57\u641c\u7d22\u8054\u673a\u5e2e\u52a9<\/li>\n<li>num\u53ea\u5728\u7b2c num \u7ae0\u8282\u67e5\u627e<\/li>\n<li>-a\u5c06\u6240\u6709\u7ae0\u8282\u90fd\u663e\u793a<\/li>\n<\/ul>\n<p>\u3010\u8865\u5145\u3011&#xff1a; man\u5171\u6709\u4e5d\u4e2a\u7ae0\u8282&#xff0c;\u5176\u4e2d\u5e38\u7528\u524d\u4e09\u4e2a\u7ae0\u8282\u3002\u6307\u4ee4\u9ed8\u8ba4\u4ece\u7b2c\u4e00\u4e2a\u7ae0\u8282\u67e5\u627e\u76f4\u5230\u627e\u5230\u624d\u7ec8\u6b62\u3002<\/p>\n<li> 1 Executable programs or shell commands&#xff1a;\u7ed9\u666e\u901a\u7528\u6237\u7528\u7684\u547d\u4ee4&#xff1b;<\/li>\n<li>2 System calls (functions provided by the kernel)&#xff1a;\u7ed9\u7a0b\u5e8f\u5458\u7528\u7684\u7cfb\u7edf\u8c03\u7528&#xff1b;<\/li>\n<li> 3 Library calls (functions within program libraries)&#xff1a;\u7ed9\u7a0b\u5e8f\u5458\u7528\u7684\u5e93\u51fd\u6570\u3002<\/li>\n<h3>2.4 echo&#xff1a;\u7ec8\u7aef\u8f93\u51fa\u5185\u5bb9\u7684\u201c\u5c0f\u5587\u53ed\u201d<\/h3>\n<p>\u2003\u2003echo\u662f\u6700\u57fa\u7840\u7684\u201c\u8f93\u51fa\u6307\u4ee4\u201d&#xff0c;\u80fd\u591f\u5c06\u5185\u5bb9\u6253\u5370\u5230\u7ec8\u7aef\u4e0a&#xff0c;\u8fd8\u80fd\u5feb\u901f\u5411\u6587\u4ef6\u5199\u5982\u5185\u5bb9<\/p>\n<p>\u8bed\u6cd5&#xff1a; echo [\u9009\u9879] \u8f93\u51fa\u5185\u5bb9  \u529f\u80fd&#xff1a; \u5411\u7ec8\u7aef\u8f93\u51fa\u6307\u5b9a\u6587\u672c&#xff08;\u5b57\u7b26\u4e32\u3001\u53d8\u91cf&#xff09;\u3002<\/p>\n<p>\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># echo a<\/span><br \/>\na<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># echo ssss<\/span><br \/>\nssss<\/p>\n<h4>2.4.1 \u914d\u5408\u91cd\u5b9a\u5411\u7b26\u53f7<\/h4>\n<p>\u5206\u7c7b&#xff1a;<\/p>\n<table>\n<tr>&gt;\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411&#xff08;\u8986\u76d6\u578b&#xff09;\u5c06\u547d\u4ee4\u7684\u8f93\u51fa\u5185\u5bb9\u5199\u5165\u6307\u5b9a\u6587\u4ef6\u82e5\u6587\u4ef6\u5df2\u5b58\u5728&#xff0c;\u8986\u76d6\u6587\u4ef6&#xff1b;\u4e0d\u5b58\u5728&#xff0c;\u521b\u5efa<\/tr>\n<tbody>\n<tr>\n<td>&gt;&gt;<\/td>\n<td>\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411&#xff08;\u8ffd\u52a0\u578b&#xff09;<\/td>\n<td>\u5c06\u547d\u4ee4\u7684\u8f93\u51fa\u5185\u5bb9\u8ffd\u52a0\u5230\u6307\u5b9a\u6587\u4ef6\u672b\u5c3e<\/td>\n<td>\u82e5\u6587\u4ef6\u5df2\u5b58\u5728&#xff0c;\u4fdd\u7559\u539f\u5185\u5bb9&#xff0c;\u65b0\u5185\u5bb9\u52a0\u5728\u672b\u5c3e&#xff1b;\u4e0d\u5b58\u5728&#xff0c;\u521b\u5efa<\/td>\n<\/tr>\n<tr>\n<td>&lt;<\/td>\n<td>\u6807\u51c6\u8f93\u5165\u91cd\u5b9a\u5411<\/td>\n<td>\u5c06\u547d\u4ee4\u7684\u8f93\u5165\u6765\u6e90\u4ece\u952e\u76d8\u6539\u4e3a\u6307\u5b9a\u6587\u4ef6<\/td>\n<td>\u66ff\u4ee3\u624b\u52a8\u8f93\u5165&#xff0c;\u8bfb\u53d6\u6587\u4ef6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u914d\u5408echo\u4f7f\u7528\u8bed\u6cd5&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u91cd\u5b9a\u5411\u5199\u5165\u6587\u4ef6\u8bed\u6cd5<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> \u5185\u5bb9 <span class=\"token operator\">&gt;<\/span> \u6587\u4ef6\u540d  <span class=\"token comment\"># \u8986\u76d6\u6587\u4ef6\u539f\u6709\u5185\u5bb9&#xff08;\u8c28\u614e\u4f7f\u7528&#xff09;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> \u5185\u5bb9 <span class=\"token operator\">&gt;&gt;<\/span> \u6587\u4ef6\u540d <span class=\"token comment\"># \u8ffd\u52a0\u5185\u5bb9\u5230\u6587\u4ef6\u672b\u5c3e&#xff08;\u63a8\u8350&#xff0c;\u4e0d\u8986\u76d6\u539f\u6709\u5185\u5bb9&#xff09;<\/span><\/p>\n<p>\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token comment\">#\u8f93\u51fa\u91cd\u5b9a\u5411&#8211;\u8986\u76d6<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># echo &#034;hello&#034; &gt; test.txt<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls<\/span><br \/>\nB  <span class=\"token builtin class-name\">test<\/span>  test1  test2  test3  test.txt<\/p>\n<p><span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cat test.txt <\/span><br \/>\nhello<\/p>\n<p><span class=\"token comment\">#\u8ffd\u52a0<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># echo h &gt;&gt; test.txt <\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cat test.txt <\/span><br \/>\nhello<br \/>\nh<\/p>\n<p><span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># echo h &gt; test.txt <\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cat test.txt <\/span><br \/>\nh<\/p>\n<h3>2.5 cp&#xff1a;\u6587\u4ef6\/\u76ee\u5f55\u7684\u201c\u590d\u5236\u7c98\u8d34\u201d<\/h3>\n<p>\u2003\u2003\u6307\u4ee4\u5bf9\u5e94 Windows \u7684\u201c\u590d\u5236\u7c98\u8d34\u201d\u529f\u80fd&#xff0c;\u53ef\u4ee5\u590d\u5236 \u5355\u4e2a\/\u591a\u4e2a\u6587\u4ef6\u3001\u590d\u5236\u76ee\u5f55&#xff08;\u52a0\u9009\u9879&#xff09;&#xff0c;\u662f\u65e5\u5e38\u6587\u4ef6\u7ba1\u7406\u7684\u9ad8\u54c1\u6307\u4ee4\u3002<\/p>\n<p>\u8bed\u6cd5&#xff1a;cp [\u9009\u9879] \u6e90\u6587\u4ef6\/\u76ee\u5f55 \u76ee\u6807\u4f4d\u7f6e \u529f\u80fd&#xff1a; \u590d\u5236\u6587\u4ef6\u6216\u8005\u76ee\u5f55\u5230\u6307\u5b9a\u7684\u4f4d\u7f6e&#xff0c;\u590d\u5236\u540e\u539f\u6587\u4ef6\/\u76ee\u5f55\u4fdd\u7559&#xff08;\u533a\u522b\u4e8e\u540e\u7eed\u7684mv\u6307\u4ee4&#xff09;\u3002<\/p>\n<p>\u9009\u9879&#xff1a;<\/p>\n<ul>\n<li>-r&#xff1a;\u9012\u5f52\u590d\u5236\u76ee\u5f55&#xff1b;<\/li>\n<li>-i&#xff1a;\u8986\u76d6\u524d\u63d0\u662f\u786e\u8ba4&#xff08;\u9ed8\u8ba4\u5f00\u542f&#xff09;&#xff1b;<\/li>\n<li>-v&#xff1a;\u663e\u793a\u590d\u5236\u8fc7\u7a0b&#xff08;\u6c14\u606f\u770b\u5230\u590d\u5236\u7684\u6587\u4ef6\u8def\u5f84&#xff09;&#xff1b;<\/li>\n<li>-f&#xff1a;\u5f3a\u884c\u590d\u5236\u6587\u4ef6\u6216\u8005\u76ee\u5f55&#xff0c;\u4e0d\u7ba1\u76ee\u6807\u662f\u5426\u5df2\u7ecf\u5b58\u5728\u3002<\/li>\n<\/ul>\n<p>\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token comment\">#\u590d\u5236\u5355\u4e2a\u6587\u4ef6\u5230\u6307\u5b9a\u76ee\u5f55<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls<\/span><br \/>\nB  <span class=\"token builtin class-name\">test<\/span>  test1  test2  test3  test.txt<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cp test.txt B<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cd B<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos B<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls<\/span><br \/>\nb1  test.txt<\/p>\n<p><span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos B<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cd ..<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># pwd<\/span><br \/>\n\/root<\/p>\n<p><span class=\"token comment\">#\u590d\u5236\u6587\u4ef6\u5e76\u91cd\u547d\u540d<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cp test.txt copy.txt<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls<\/span><br \/>\nB  copy.txt  <span class=\"token builtin class-name\">test<\/span>  test1  test2  test3  test.txt<\/p>\n<p><span class=\"token comment\">#\u590d\u5236\u76ee\u5f55<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cp -r B test1<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls<\/span><br \/>\nB  copy.txt  <span class=\"token builtin class-name\">test<\/span>  test1  test2  test3  test.txt<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cd test1<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos test1<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls<\/span><br \/>\nB<\/p>\n<h3>2.7 mv&#xff1a;\u6587\u4ef6\/\u76ee\u5f55\u7684\u201c\u526a\u5207\u7c98\u8d34&#043;\u91cd\u547d\u540d\u201d<\/h3>\n<p>\u2003\u2003\u8be5\u6307\u4ee4\u7684\u4e24\u4e2a\u6838\u5fc3\u529f\u80fd\u5bf9\u5e94 Windows \u7684\u201c\u526a\u5207\u201d\u548c\u201c\u91cd\u547d\u540d\u201d\u529f\u80fd&#xff0c;\u4f7f\u7528\u9891\u7387\u6781\u9ad8\u3002<\/p>\n<p>\u8bed\u6cd5&#xff1a; mv [\u9009\u9879] \u6e90\u6587\u4ef6\/\u6e90\u76ee\u5f55 \u76ee\u6807\u4f4d\u7f6e \u529f\u80fd&#xff1a; \u79fb\u52a8\u6587\u4ef6\/\u76ee\u5f55\u5230\u6307\u5b9a\u4f4d\u7f6e&#xff1b;\u91cd\u547d\u540d\u6587\u4ef6&#xff08;\u540c\u4e00\u76ee\u5f55\u4e0b&#xff09;\u3002<\/p>\n<p>\u9009\u9879&#xff1a;<\/p>\n<ul>\n<li>-f&#xff1a;force\u5f3a\u5236&#xff0c;\u5982\u679c\u76ee\u6807\u6587\u4ef6\u5df2\u5b58\u5728&#xff0c;\u4e0d\u4f1a\u8be2\u95ee\u76f4\u63a5\u8986\u76d6\u3002<\/li>\n<li>-i&#xff1a;\u82e5\u76ee\u6807\u6587\u4ef6\u5df2\u5b58\u5728&#xff0c;\u4f1a\u8be2\u95ee\u3002<\/li>\n<\/ul>\n<p>\u3010\u6838\u5fc3\u89c4\u5219\u3011&#xff1a;mv\u547d\u4ee4\u7684\u884c\u4e3a\u5b8c\u5168\u7531\u7b2c\u4e8c\u4e2a\u53c2\u6570\u7c7b\u578b\u51b3\u5b9a\u3002<\/p>\n<li>\u7b2c2\u4e2a\u53c2\u6570\u662f\u6587\u4ef6&#xff1a;\u91cd\u547d\u540d\u3002<\/li>\n<li>\u7b2c2\u4e2a\u53c2\u6570\u662f\u76ee\u5f55&#xff1a;\u79fb\u52a8\u5230\u76ee\u5f55\u3002<\/li>\n<p>\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># pwd<\/span><br \/>\n\/root<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls<\/span><br \/>\nB  copy.txt  <span class=\"token builtin class-name\">test<\/span>  test1  test2  test3  test.txt<\/p>\n<p><span class=\"token comment\">#\u91cd\u547d\u540d<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># mv copy.txt c.txt<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls<\/span><br \/>\nB  c.txt  <span class=\"token builtin class-name\">test<\/span>  test1  test2  test3  test.txt<\/p>\n<p><span class=\"token comment\">#\u79fb\u52a8<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># mv c.txt test<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls<\/span><br \/>\nB  <span class=\"token builtin class-name\">test<\/span>  test1  test2  test3  test.txt<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls test<\/span><br \/>\nc.txt<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># <\/span><\/p>\n<hr \/>\n<h2>\u4e09\u3001\u9ad8\u9891\u6307\u4ee4\u8981\u70b9\u603b\u7ed3\u8868\u683c<\/h2>\n<table>\n<tr>\u6307\u4ee4\u540d\u79f0\u6838\u5fc3\u529f\u80fd\u6838\u5fc3\u8bed\u6cd5\u5173\u952e\u5907\u6ce8<\/tr>\n<tbody>\n<tr>\n<td>which<\/td>\n<td>\u67e5\u627e\u6307\u4ee4\u7684\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84<\/td>\n<td>which [\u9009\u9879] \u6307\u4ee4\u540d<\/td>\n<td>\u8f85\u52a9\u5224\u65ad\u6307\u4ee4\u662f\u5426\u5b58\u5728&#xff0c;\u90e8\u5206\u6307\u4ee4\u663e\u793a\u8def\u5f84<\/td>\n<\/tr>\n<tr>\n<td>alias<\/td>\n<td>\u521b\u5efa\u3001\u67e5\u770b\u3001\u5220\u9664\u6307\u4ee4\u522b\u540d<\/td>\n<td>\u521b\u5efa&#xff1a;alisas \u522b\u540d&#061;\u201c\u957f\u6307\u4ee4\u201d&#xff1b;\u67e5\u770b&#xff1a;alias&#xff1b;\u5220\u9664&#xff1a;unalias \u522b\u540d<\/td>\n<td>\u81ea\u5b9a\u4e49\u4e34\u65f6\u522b\u540d<\/td>\n<\/tr>\n<tr>\n<td>acho<\/td>\n<td>\u5411\u7ec8\u7aef\u8f93\u51fa\u6587\u672c&#xff0c;\u914d\u5408\u91cd\u5b9a\u5411\u7b26\u53f7<\/td>\n<td>echo [\u9009\u9879] \u8f93\u51fa\u5185\u5bb9&#xff1b;\u5199\u5165\u6587\u4ef6&#xff1a;echo &gt;\/&gt;&gt; \u6587\u4ef6\u540d<\/td>\n<td>\u5185\u90e8\u6307\u4ee4&#xff0c;&gt;\u8986\u76d6\u5199\u5165&#xff0c;&gt;&gt;\u8ffd\u52a0\u5199\u5165<\/td>\n<\/tr>\n<tr>\n<td>cd<\/td>\n<td>\u5207\u6362\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55<\/td>\n<td>cd [\u76ee\u5f55\u8def\u5f84]<\/td>\n<td>\u5185\u90e8\u6307\u4ee4&#xff0c;\u652f\u6301~&#xff08;\u5bb6\u76ee\u5f55&#xff09;\u3001\u2026&#xff08;\u4e0a\u7ea7&#xff09;\u7b49<\/td>\n<\/tr>\n<tr>\n<td>cp<\/td>\n<td>\u590d\u5236\u6587\u4ef6\/\u76ee\u5f55\u5230\u6307\u5b9a\u4f4d\u7f6e<\/td>\n<td>cp [\u9009\u9879] \u6e90\u6587\u4ef6\/\u76ee\u5f55 \u76ee\u6807i\u4f4d\u7f6e<\/td>\n<td>\u5916\u90e8&#xff0c;\u590d\u5236\u76ee\u5f55\u8981\u52a0 -r&#xff0c;-i\u9ed8\u8ba4\u8be2\u95ee<\/td>\n<\/tr>\n<tr>\n<td>mv<\/td>\n<td>\u79fb\u52a8\u6587\u4ef6\/\u76ee\u5f55&#xff1b;\u540c\u76ee\u5f55\u4e0b\u91cd\u547d\u540d<\/td>\n<td>mv [\u9009\u9879] \u6e90\u6587\u4ef6\/\u76ee\u5f55 \u76ee\u6807\u4f4d\u7f6e<\/td>\n<td>\u5916\u90e8&#xff0c;\u884c\u4e3a\u6709\u7b2c2\u4e2a\u53c2\u6570\u51b3\u5b9a<\/td>\n<\/tr>\n<tr>\n<td>man<\/td>\n<td>\u67e5\u770b\u6307\u4ee4\u3001\u914d\u7f6e\u6587\u4ef6\u7684\u79bb\u7ebf\u5e2e\u52a9\u624b\u518c<\/td>\n<td>man [\u9009\u9879] \u6307\u4ee4\/\u6587\u4ef6<\/td>\n<td>\u51719\u7ae0\u8282&#xff0c;\u5e38\u7528\u524d3\u7ae0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2>\u603b\u7ed3<\/h2>\n<p>&#x1f353; \u6211\u662f\u6668\u975e\u8fb0Tong&#xff01;\u82e5\u8fd9\u7bc7\u6280\u672f\u5e72\u8d27\u5e2e\u4f60\u6253\u901a\u4e86\u5b66\u4e60\u4e2d\u7684\u5361\u70b9&#xff1a;<br \/>\n&#x1f440; \u3010\u5173\u6ce8\u3011\u8ddf\u6211\u4e00\u8d77\u6df1\u8015\u6280\u672f\u9886\u57df&#xff0c;\u4ece\u57fa\u7840\u5230\u8fdb\u9636&#xff0c;\u89c1\u8bc1\u6bcf\u4e00\u6b21\u6210\u957f<br \/>\n\u2764\ufe0f \u3010\u70b9\u8d5e\u3011\u8ba9\u4f18\u8d28\u5185\u5bb9\u88ab\u66f4\u591a\u4eba\u770b\u89c1&#xff0c;\u8ba9\u77e5\u8bc6\u4f20\u9012\u66f4\u6709\u529b\u91cf<br \/>\n\u2b50 \u3010\u6536\u85cf\u3011\u628a\u6838\u5fc3\u77e5\u8bc6\u70b9\u3001\u5b9e\u6218\u6280\u5de7\u5b58\u597d&#xff0c;\u9700\u8981\u65f6\u76f4\u63a5\u67e5\u3001\u968f\u65f6\u7528<br \/>\n&#x1f4ac; \u3010\u8bc4\u8bba\u3011\u5206\u4eab\u4f60\u7684\u7ecf\u9a8c\u6216\u7591\u95ee&#xff08;\u6bd4\u5982\u66fe\u8e29\u8fc7\u7684\u6280\u672f\u5751&#xff1f;&#xff09;&#xff0c;\u4e00\u8d77\u4ea4\u6d41\u907f\u5751<br \/>\n&#x1f5f3;\ufe0f \u3010\u6295\u7968\u3011\u7528\u4f60\u7684\u9009\u62e9\u52a9\u529b\u793e\u533a\u5185\u5bb9\u65b9\u5411&#xff0c;\u544a\u8bc9\u5927\u5bb6\u54ea\u4e2a\u6280\u672f\u70b9\u6700\u8be5\u91cd\u70b9\u62c6\u89e3<br \/>\n\u6280\u672f\u4e4b\u8def\u96be\u514d\u6709\u56f0\u60d1&#xff0c;\u4f46\u540c\u884c\u7684\u4eba\u4f1a\u8ba9\u524d\u8fdb\u66f4\u6709\u65b9\u5411&#xff5e;\u613f\u6211\u4eec\u90fd\u80fd\u5728\u81ea\u5df1\u4e13\u6ce8\u7684\u9886\u57df\u91cc&#xff0c;\u4e00\u6b65\u6b65\u9760\u8fd1\u5fc3\u4e2d\u7684\u6280\u672f\u76ee\u6807&#xff01;<\/p>\n<p>\u7ed3\u8bed&#xff1a;<\/p>\n<p>\u2003\u2003\u638c\u63e1 Linux \u6307\u4ee4\u662f\u8fc8\u5411\u7cfb\u7edf\u7ba1\u7406\u4e0e\u5f00\u53d1\u7684\u5173\u952e\u4e00\u6b65\u3002\u4ece\u7406\u89e3 \u201c\u4e00\u5207\u7686\u6587\u4ef6\u201d \u7684\u8bbe\u8ba1\u54f2\u5b66&#xff0c;\u5230\u719f\u7ec3\u8fd0\u7528 cp\u3001mv\u3001echo\u7b49\u9ad8\u9891\u5de5\u5177&#xff0c;\u6bcf\u4e00\u4e2a\u6307\u4ee4\u7684\u80cc\u540e\u90fd\u662f\u5bf9\u7cfb\u7edf\u903b\u8f91\u7684\u6df1\u523b\u6620\u5c04\u3002 \u2003\u2003 \u5e0c\u671b\u672c\u6587\u7684\u68b3\u7406\u80fd\u5e2e\u52a9\u4f60\u4ece \u201c\u6b7b\u8bb0\u786c\u80cc\u201d \u8f6c\u5411\u7406\u89e3\u539f\u7406\u201d&#xff0c;\u5c06\u8fd9\u4e9b\u6307\u4ee4\u8f6c\u5316\u4e3a\u624b\u4e2d\u7684\u5229\u5668\u3002\u5efa\u8bae\u591a\u5728\u7ec8\u7aef\u4e2d\u5b9e\u64cd&#xff0c;\u4ece\u57fa\u7840\u7684\u6587\u4ef6\u7ba1\u7406\u5f00\u59cb&#xff0c;\u9010\u6b65\u6784\u5efa\u5c5e\u4e8e\u81ea\u5df1\u7684 Linux \u6280\u80fd\u6811\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260204045805-6982d1dded6e0.gif\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#x1f525;\u96fe\u5ff1\u661f&#xff1a; \u4e2a\u4eba\u4e3b\u9875 &#x1f440;\u4e13\u680f&#xff1a;\u300aC\u5b66\u4e60\u4e4b\u65c5\u300b\u3001\u300aLinux\u5b66\u4e60\u6307\u5357\u300b &#x1f4aa;\u5b66\u4e60\u9636\u6bb5&#xff1a;C\/C\u3001Linux \u23f3\u201c\u4eba\u7406\u89e3\u8fed\u4ee3&#xff0c;\u795e\u7406\u89e3\u9012\u5f52\u3002\u201d\u6587\u7ae0\u76ee\u5f55\u5f15\u8a00\u4e00\u3001Linux\u6307\u4ee4\u7684\u672c\u8d281.1 \u6307\u4ee4\u7684\u4e24\u79cd\u7c7b\u578b&#xff1a;\u5916\u90e8\u4e0e\u5185\u90e81.2 Linux \u7684\u201c\u4e00\u5207\u7686\u6587\u4ef6\u201d\u4e8c\u3001Linux \u9ad8\u9891\u8f85\u52a9\u6307\u4ee4\u8d85\u8be6\u89e32.1 which&#xff1a;\u6307\u4ee4\u7684\u201c\u5b9a\u4f4d\u5668\u201d2.2 alias&#xff1a;\u81ea\u5b9a\u4e49<\/p>\n","protected":false},"author":2,"featured_media":71876,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,58,50,323,207,44],"topic":[],"class_list":["post-71879","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-linux","tag-50","tag-323","tag-207","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6df1\u5165\u6d45\u51faLinux\uff1a\u522b\u518d\u8bf4\u4f60\u4e0d\u61c2Linux\u6307\u4ee4\u4e86\uff01\u4e00\u6587\u641e\u5b9a7\u4e2a\u9ad8\u9891\u6307\u4ee4\uff0c\u8ba9\u4f60 Linux \u6548\u7387\u7ffb\u500d\uff01 - \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\/71879.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6df1\u5165\u6d45\u51faLinux\uff1a\u522b\u518d\u8bf4\u4f60\u4e0d\u61c2Linux\u6307\u4ee4\u4e86\uff01\u4e00\u6587\u641e\u5b9a7\u4e2a\u9ad8\u9891\u6307\u4ee4\uff0c\u8ba9\u4f60 Linux \u6548\u7387\u7ffb\u500d\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"&#x1f525;\u96fe\u5ff1\u661f&#xff1a; \u4e2a\u4eba\u4e3b\u9875 &#x1f440;\u4e13\u680f&#xff1a;\u300aC\u5b66\u4e60\u4e4b\u65c5\u300b\u3001\u300aLinux\u5b66\u4e60\u6307\u5357\u300b &#x1f4aa;\u5b66\u4e60\u9636\u6bb5&#xff1a;C\/C\u3001Linux \u23f3\u201c\u4eba\u7406\u89e3\u8fed\u4ee3&#xff0c;\u795e\u7406\u89e3\u9012\u5f52\u3002\u201d\u6587\u7ae0\u76ee\u5f55\u5f15\u8a00\u4e00\u3001Linux\u6307\u4ee4\u7684\u672c\u8d281.1 \u6307\u4ee4\u7684\u4e24\u79cd\u7c7b\u578b&#xff1a;\u5916\u90e8\u4e0e\u5185\u90e81.2 Linux \u7684\u201c\u4e00\u5207\u7686\u6587\u4ef6\u201d\u4e8c\u3001Linux \u9ad8\u9891\u8f85\u52a9\u6307\u4ee4\u8d85\u8be6\u89e32.1 which&#xff1a;\u6307\u4ee4\u7684\u201c\u5b9a\u4f4d\u5668\u201d2.2 alias&#xff1a;\u81ea\u5b9a\u4e49\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/71879.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-04T04:58:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260204045805-6982d1dda7eb4.gif\" \/>\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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/71879.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/71879.html\",\"name\":\"\u6df1\u5165\u6d45\u51faLinux\uff1a\u522b\u518d\u8bf4\u4f60\u4e0d\u61c2Linux\u6307\u4ee4\u4e86\uff01\u4e00\u6587\u641e\u5b9a7\u4e2a\u9ad8\u9891\u6307\u4ee4\uff0c\u8ba9\u4f60 Linux \u6548\u7387\u7ffb\u500d\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-04T04:58:07+00:00\",\"dateModified\":\"2026-02-04T04:58:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/71879.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/71879.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/71879.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6df1\u5165\u6d45\u51faLinux\uff1a\u522b\u518d\u8bf4\u4f60\u4e0d\u61c2Linux\u6307\u4ee4\u4e86\uff01\u4e00\u6587\u641e\u5b9a7\u4e2a\u9ad8\u9891\u6307\u4ee4\uff0c\u8ba9\u4f60 Linux \u6548\u7387\u7ffb\u500d\uff01\"}]},{\"@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":"\u6df1\u5165\u6d45\u51faLinux\uff1a\u522b\u518d\u8bf4\u4f60\u4e0d\u61c2Linux\u6307\u4ee4\u4e86\uff01\u4e00\u6587\u641e\u5b9a7\u4e2a\u9ad8\u9891\u6307\u4ee4\uff0c\u8ba9\u4f60 Linux \u6548\u7387\u7ffb\u500d\uff01 - \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\/71879.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6df1\u5165\u6d45\u51faLinux\uff1a\u522b\u518d\u8bf4\u4f60\u4e0d\u61c2Linux\u6307\u4ee4\u4e86\uff01\u4e00\u6587\u641e\u5b9a7\u4e2a\u9ad8\u9891\u6307\u4ee4\uff0c\u8ba9\u4f60 Linux \u6548\u7387\u7ffb\u500d\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"&#x1f525;\u96fe\u5ff1\u661f&#xff1a; \u4e2a\u4eba\u4e3b\u9875 &#x1f440;\u4e13\u680f&#xff1a;\u300aC\u5b66\u4e60\u4e4b\u65c5\u300b\u3001\u300aLinux\u5b66\u4e60\u6307\u5357\u300b &#x1f4aa;\u5b66\u4e60\u9636\u6bb5&#xff1a;C\/C\u3001Linux \u23f3\u201c\u4eba\u7406\u89e3\u8fed\u4ee3&#xff0c;\u795e\u7406\u89e3\u9012\u5f52\u3002\u201d\u6587\u7ae0\u76ee\u5f55\u5f15\u8a00\u4e00\u3001Linux\u6307\u4ee4\u7684\u672c\u8d281.1 \u6307\u4ee4\u7684\u4e24\u79cd\u7c7b\u578b&#xff1a;\u5916\u90e8\u4e0e\u5185\u90e81.2 Linux \u7684\u201c\u4e00\u5207\u7686\u6587\u4ef6\u201d\u4e8c\u3001Linux \u9ad8\u9891\u8f85\u52a9\u6307\u4ee4\u8d85\u8be6\u89e32.1 which&#xff1a;\u6307\u4ee4\u7684\u201c\u5b9a\u4f4d\u5668\u201d2.2 alias&#xff1a;\u81ea\u5b9a\u4e49","og_url":"https:\/\/www.wsisp.com\/helps\/71879.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-04T04:58:07+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260204045805-6982d1dda7eb4.gif"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/71879.html","url":"https:\/\/www.wsisp.com\/helps\/71879.html","name":"\u6df1\u5165\u6d45\u51faLinux\uff1a\u522b\u518d\u8bf4\u4f60\u4e0d\u61c2Linux\u6307\u4ee4\u4e86\uff01\u4e00\u6587\u641e\u5b9a7\u4e2a\u9ad8\u9891\u6307\u4ee4\uff0c\u8ba9\u4f60 Linux \u6548\u7387\u7ffb\u500d\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-04T04:58:07+00:00","dateModified":"2026-02-04T04:58:07+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/71879.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/71879.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/71879.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u6df1\u5165\u6d45\u51faLinux\uff1a\u522b\u518d\u8bf4\u4f60\u4e0d\u61c2Linux\u6307\u4ee4\u4e86\uff01\u4e00\u6587\u641e\u5b9a7\u4e2a\u9ad8\u9891\u6307\u4ee4\uff0c\u8ba9\u4f60 Linux \u6548\u7387\u7ffb\u500d\uff01"}]},{"@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\/71879","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=71879"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/71879\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/71876"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=71879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=71879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=71879"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=71879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}