{"id":63720,"date":"2026-01-22T09:24:37","date_gmt":"2026-01-22T01:24:37","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/63720.html"},"modified":"2026-01-22T09:24:37","modified_gmt":"2026-01-22T01:24:37","slug":"linux%e6%96%87%e4%bb%b6%e6%93%8d%e4%bd%9c%e5%ae%9e%e6%88%98%ef%bc%9a%e5%8e%8b%e7%bc%a9-%e4%bc%a0%e8%be%93-%e8%ae%a1%e7%ae%9710%e5%88%86%e9%92%9f%e9%80%9f%e6%88%90%ef%bc%8c%e6%8e%8c%e6%8f%a1%e6%a0%b8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/63720.html","title":{"rendered":"Linux\u6587\u4ef6\u64cd\u4f5c\u5b9e\u6218\uff1a\u538b\u7f29\/\u4f20\u8f93\/\u8ba1\u7b9710\u5206\u949f\u901f\u6210\uff0c\u638c\u63e1\u6838\u5fc3\u547d\u4ee4\u7ec4\u5408\u4e0eShell\u5185\u6838\u4ea4\u4e92\u79d8\u7c4d"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260122012434-69717c5296768.gif\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260122012434-69717c52a5144.gif\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <\/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\u3001\u6587\u4ef6\u538b\u7f29\u4e0e\u89e3\u538b<\/li>\n<li>\n<ul>\n<li>1.1 tar&#xff1a;\u538b\u7f29\u4e0e\u89e3\u538b\u7684\u201c\u4e07\u80fd\u5de5\u5177\u201d<\/li>\n<\/ul>\n<\/li>\n<li>\u4e8c\u3001\u8fdc\u7a0b\u6587\u4ef6\u4f20\u8f93&#043;\u7ec8\u7aef\u8ba1\u7b97<\/li>\n<li>\n<ul>\n<li>2.1 scp&#xff1a;\u8fdc\u7a0b\u62f7\u8d1d<\/li>\n<li>2.2 bc&#xff1a;Linux\u7ec8\u7aef\u8ba1\u7b97\u5668<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001\u5fc5\u770b\u9762\u8bd5\u9898&#043;\u5e38\u7528\u70ed\u952e<\/li>\n<li>\n<ul>\n<li>3.1 \u4f60\u7684\u8ba1\u7b97\u673a\u4f53\u7cfb\u7ed3\u6784\u662f\u4ec0\u4e48&#xff1f;<\/li>\n<li>3.2 \u5982\u4f55\u67e5\u770b\u4f60\u7684 Linux \u7684\u5185\u6838\u7248\u672c&#xff1f;<\/li>\n<li>3.3 \u5982\u4f55\u67e5\u770b\u4f60\u7684\u5177\u4f53\u7cfb\u7edf\u53d1\u884c\u7248&#xff1f;<\/li>\n<li>3.4 \u56db\u4e2a\u70ed\u952e<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001Shell\u4e0e\u5185\u6838\u4ea4\u4e92\u539f\u7406<\/li>\n<li>\n<ul>\n<li>4.1 \u539f\u7406\u89e3\u6790<\/li>\n<li>4.2 \u660e\u786e\u6838\u5fc3\u89d2\u8272&#xff1a;Shell\u662f\u201c\u7ffb\u8bd1\u5b98\u201d&#xff0c;\u5185\u6838\u662f\u201c\u6267\u884c\u8005\u201d<\/li>\n<\/ul>\n<\/li>\n<li>\u603b\u7ed3<\/li>\n<\/ul>\n<hr \/>\n<h2>\u5f15\u8a00<\/h2>\n<p>\u2003\u2003Linux\u7ec8\u7aef\u64cd\u4f5c\u662f\u8fd0\u7ef4\u3001\u5f00\u53d1\u5fc5\u5907\u57fa\u7840&#xff0c;\u65e5\u5e38\u5de5\u4f5c\u4e0e\u9762\u8bd5\u5747\u9ad8\u9891\u6d89\u53ca\u3002 \u2003\u2003\u672c\u6587\u4ee5\u5b9e\u64cd\u4e3a\u6838\u5fc3&#xff0c;\u8bb2\u89e3tar\u3001scp\u3001bc\u6307\u4ee4\u7528\u6cd5&#xff0c;\u8865\u5145\u9762\u8bd5\u9898\u4e0e\u70ed\u952e&#xff0c;\u7ed3\u5408\u6545\u4e8b\u62c6\u89e3Shell\u4e0e\u5185\u6838\u4ea4\u4e92\u903b\u8f91\u3002<\/p>\n<p>\u2003\u2003\u77e5\u8bc6\u70b9\u642d\u914d\u7ec8\u7aef\u6848\u4f8b&#xff0c;\u65b0\u624b\u53ef\u76f4\u63a5\u590d\u5236\u6d4b\u8bd5&#xff0c;\u5feb\u901f\u638c\u63e1Linux\u57fa\u7840\u3002<\/p>\n<hr \/>\n<h2>\u4e00\u3001\u6587\u4ef6\u538b\u7f29\u4e0e\u89e3\u538b<\/h2>\n<h3>1.1 tar&#xff1a;\u538b\u7f29\u4e0e\u89e3\u538b\u7684\u201c\u4e07\u80fd\u5de5\u5177\u201d<\/h3>\n<p>\u2003\u2003tar \u662f Linux \u6700\u5e38\u7528\u7684\u538b\u7f29 \/ \u89e3\u538b\u6307\u4ee4&#xff0c;\u652f\u6301\u591a\u79cd\u538b\u7f29\u683c\u5f0f&#xff08;.tar\u3001.tar.gz\u3001.tar.bz2\u7b49&#xff09;&#xff0c;\u5176\u6838\u5fc3\u4f5c\u7528\u662f\u201c\u6253\u5305\u201d&#xff08;\u5c06\u591a\u4e2a\u6587\u4ef6\/\u6587\u4ef6\u5939\u5408\u5e76&#xff09;\u548c\u201c\u538b\u7f29\u201d&#xff08;\u51cf\u5c0f\u4f53\u79ef&#xff09;&#xff0c;\u53ef\u4ee5\u7ed3\u5408\u4f7f\u7528\u3002<\/p>\n<p>\u8bed\u6cd5&#xff1a;tar [\u9009\u9879] \u76ee\u6807\u6587\u4ef6\/\u76ee\u5f55\u3002 \u529f\u80fd&#xff1a; \u628a\u591a\u4e2a\u6587\u4ef6\/\u76ee\u5f55\u6253\u5305\u6210\u4e00\u4e2a (.tar) \u6587\u4ef6\u3002<\/p>\n<p>\u5e38\u7528\u9009\u9879&#xff1a;<\/p>\n<ul>\n<li>\n<p>-c&#xff1a;\u521b\u5efa\u538b\u7f29\u5305&#xff08;\u6253\u5305\/\u538b\u7f29\u65f6\u5fc5\u7528&#xff09;<\/p>\n<\/li>\n<li>\n<p>-x&#xff1a;\u89e3\u538b\u538b\u7f29\u5305&#xff08;\u89e3\u538b\u65f6\u5fc5\u7528&#xff09;<\/p>\n<\/li>\n<li>\n<p>-f&#xff1a;\u6307\u5b9a\u538b\u7f29\u5305\u6587\u4ef6\u540d&#xff08;\u5fc5\u987b\u653e\u5728\u6240\u6709\u9009\u9879\u6700\u540e&#xff0c;\u7d27\u8ddf\u6587\u4ef6\u540d&#xff09;<\/p>\n<\/li>\n<li>\n<p>-v&#xff1a;\u663e\u793a\u64cd\u4f5c\u8fc7\u7a0b&#xff08;\u5e38\u7528&#xff0c;\u4f46\u662f\u4e0d\u5efa\u8bae\u5728\u80cc\u666f\u6267\u884c\u8fc7\u7a0b\u4f7f\u7528&#xff09;<\/p>\n<\/li>\n<li>\n<p>-C&#xff1a;\u6307\u5b9a\u89e3\u538b\u76ee\u5f55&#xff08;\u89e3\u538b\u65f6\u7528&#xff0c;\u53ef\u81ea\u5b9a\u4e49\u8f93\u51fa\u8def\u5f84&#xff09;<\/p>\n<\/li>\n<li>\n<p>-z&#xff1a;\u4f7f\u7528 gzip \u7b97\u6cd5\u538b\u7f29\/\u89e3\u538b&#xff08;\u5bf9\u5e94 .tar.gz \u683c\u5f0f&#xff0c;\u6700\u5e38\u7528&#xff09;<\/p>\n<\/li>\n<li>\n<p>-j&#xff1a;\u4f7f\u7528 bzip2 \u7b97\u6cd5\u538b\u7f29\/\u89e3\u538b&#xff08;\u5bf9\u5e94 .tar.bz2 \u683c\u5f0f&#xff0c;\u538b\u7f29\u7387\u66f4\u9ad8&#xff09;<\/p>\n<\/li>\n<li>\n<p>-t&#xff1a;\u67e5\u770b\u538b\u7f29\u5305\u5185\u7684\u6587\u4ef6\u5217\u8868&#xff08;\u4e0d\u89e3\u538b&#xff09;<\/p>\n<\/li>\n<\/ul>\n<p>\u5e38\u7528\u7ec4\u5408\u53c2\u6570&#xff1a;<\/p>\n<ul>\n<li>-czf [\u538b\u7f29\u5305\u6587\u4ef6\u540d.tgz] [\u8981\u6253\u5305\u7684\u6587\u4ef6\/\u76ee\u5f55] \/ -czvf&#8230;\u663e\u793a\u538b\u7f29\u8fc7\u7a0b<\/li>\n<\/ul>\n<p><span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\">#\u4f7f\u7528-czf\u6253\u5305\u538b\u7f29\u6587\u4ef6<\/span><br \/>\n<span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/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  test.txt<br \/>\n<span class=\"token comment\">#\u9012\u5f52\u521b\u5efa\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\"># mkdir -p lesson\/a\/b\/c\/d<\/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  lesson  test.txt<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># tree lesson\/<\/span><br \/>\nlesson\/<br \/>\n<span class=\"token variable\"><span class=\"token variable\">&#096;<\/span>&#8212; a<br \/>\n    <span class=\"token variable\">&#096;<\/span><\/span>&#8212; b<br \/>\n        <span class=\"token variable\"><span class=\"token variable\">&#096;<\/span>&#8212; c<br \/>\n            <span class=\"token variable\">&#096;<\/span><\/span>&#8212; d<\/p>\n<p><span class=\"token number\">4<\/span> directories, <span class=\"token number\">0<\/span> files<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># tar -czf lesson.tgz lesson\/<\/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  lesson  lesson.tgz  test.txt<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ll lesson.tgz <\/span><br \/>\n-rw-r&#8211;r&#8211; <span class=\"token number\">1<\/span> root root <span class=\"token number\">165<\/span> Jan <span class=\"token number\">20<\/span> <span class=\"token number\">13<\/span>:33 lesson.tgz<\/p>\n<p><span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\"># -v\u663e\u793a\u538b\u7f29\u8fc7\u7a0b<\/span><br \/>\n<span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\">#\u79fb\u9664\u5df2\u5b58\u5728\u7684\u538b\u7f29\u5305<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># rm lesson.tgz <\/span><br \/>\nrm: remove regular <span class=\"token function\">file<\/span> \u2018lesson.tgz\u2019? y<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  lesson  test.txt<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># tar -czvf lesson.tgz lesson\/<\/span><br \/>\nlesson\/<br \/>\nlesson\/a\/<br \/>\nlesson\/a\/b\/<br \/>\nlesson\/a\/b\/c\/<br \/>\nlesson\/a\/b\/c\/d\/<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  lesson  lesson.tgz  test.txt<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ll lesson.tgz <\/span><br \/>\n-rw-r&#8211;r&#8211; <span class=\"token number\">1<\/span> root root <span class=\"token number\">165<\/span> Jan <span class=\"token number\">20<\/span> <span class=\"token number\">13<\/span>:35 lesson.tgz<\/p>\n<p><span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\">#\u5728tar\u547d\u4ee4\u672b\u5c3e\u52a0 &amp; &#xff1a;\u8868\u793a\u884c\u4e3a\u5728\u540e\u53f0\u5b8c\u6210<\/span><br \/>\n<span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\">#\u540e\u53f0\u6253\u5305\u538b\u7f29<\/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<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  lesson  lesson.tgz  test.txt<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># rm lesson.tgz <\/span><br \/>\nrm: remove regular <span class=\"token function\">file<\/span> \u2018lesson.tgz\u2019? y<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  lesson  test.txt<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># tar -czf lesson.tgz lesson\/ &amp;<\/span><br \/>\n<span class=\"token punctuation\">[<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token number\">26377<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># <\/span><br \/>\n<span class=\"token punctuation\">[<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">]<\/span>&#043;  Done                    <span class=\"token function\">tar<\/span> -czf lesson.tgz lesson\/<\/p>\n<ul>\n<li>-xzf [\u538b\u7f29\u5305\u6587\u4ef6\u540d.tgz]&#xff0c;&#8230; -C [\u8def\u5f84]&#xff08;\u89e3\u538b\u5230\u6307\u5b9a\u4f4d\u7f6e&#xff09;<\/li>\n<\/ul>\n<p><span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\">#\u89e3\u538b\u5230\u5f53\u524d\u8def\u5f84\u4e0b\u7684B\u6587\u4ef6\u5939\u4e2d<\/span><br \/>\n<span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># tar -xzf lesson.tgz -C .\/B<\/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  lesson  lesson.tgz  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 B<\/span><br \/>\nb1  lesson<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># tree .\/B\/lesson\/<\/span><br \/>\n.\/B\/lesson\/<br \/>\n<span class=\"token variable\"><span class=\"token variable\">&#096;<\/span>&#8212; a<br \/>\n    <span class=\"token variable\">&#096;<\/span><\/span>&#8212; b<br \/>\n        <span class=\"token variable\"><span class=\"token variable\">&#096;<\/span>&#8212; c<br \/>\n            <span class=\"token variable\">&#096;<\/span><\/span>&#8212; d<\/p>\n<p><span class=\"token number\">4<\/span> directories, <span class=\"token number\">0<\/span> files<\/p>\n<p><span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\">#\u5728tar\u547d\u4ee4\u672b\u5c3e\u52a0 &amp; &#xff1a;\u8868\u793a\u884c\u4e3a\u5728\u540e\u53f0\u5b8c\u6210<\/span><br \/>\n<span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\">#\u540e\u53f0\u89e3\u538b<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># ls B<\/span><br \/>\nb1<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># tar -xzf lesson.tgz -C .\/B &amp;<\/span><br \/>\n<span class=\"token punctuation\">[<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token number\">26790<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># <\/span><br \/>\n<span class=\"token punctuation\">[<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">]<\/span>&#043;  Done                    <span class=\"token function\">tar<\/span> -xzf lesson.tgz -C .\/B<\/p>\n<hr \/>\n<h2>\u4e8c\u3001\u8fdc\u7a0b\u6587\u4ef6\u4f20\u8f93&#043;\u7ec8\u7aef\u8ba1\u7b97<\/h2>\n<h3>2.1 scp&#xff1a;\u8fdc\u7a0b\u62f7\u8d1d<\/h3>\n<p>\u2003\u2003scp \u57fa\u4e8e SSH \u534f\u8bae&#xff0c;\u53ef\u5b9e\u73b0\u672c\u5730\u4e0e\u8fdc\u7a0b\u670d\u52a1\u5668\u3001\u8fdc\u7a0b\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u6587\u4ef6\/\u76ee\u5f55\u4f20\u8f93&#xff0c;\u4f20\u8f93\u8fc7\u7a0b\u52a0\u5bc6&#xff0c;\u5b89\u5168\u53ef\u9760&#xff0c;\u9002\u5408\u8de8\u670d\u52a1\u5668\u540c\u6b65\u6587\u4ef6\u3002<\/p>\n<p>\u8bed\u6cd5&#xff1a;<\/p>\n<ul>\n<li>\u672c\u5730 \u2192 \u8fdc\u7a0b&#xff1a;scp [\u9009\u9879] \u672c\u5730\u6587\u4ef6\/\u76ee\u5f55 \u8fdc\u7a0b\u7528\u6237&#064;\u8fdc\u7a0bIP:\u8fdc\u7a0b\u8def\u5f84<\/li>\n<li>\u8fdc\u7a0b \u2192 \u672c\u5730&#xff1a;scp [\u9009\u9879] \u8fdc\u7a0b\u7528\u6237&#064;\u8fdc\u7a0bIP:\u8fdc\u7a0b\u6587\u4ef6\/\u76ee\u5f55 \u672c\u5730\u8def\u5f84<\/li>\n<\/ul>\n<p>\u5e38\u7528\u9009\u9879&#xff1a;<\/p>\n<ul>\n<li>-r&#xff1a;\u9012\u5f52\u4f20\u8f93\u76ee\u5f55&#xff08;\u4f20\u8f93\u6587\u4ef6\u5939\u65f6\u5fc5\u7528&#xff0c;\u5426\u5219\u53ea\u4f20\u7a7a\u76ee\u5f55&#xff09;<\/li>\n<li>-p&#xff1a;\u4fdd\u7559\u6587\u4ef6\u7684\u4fee\u6539\u65f6\u95f4\u3001\u6743\u9650\u7b49\u5c5e\u6027&#xff08;\u4f20\u8f93\u540e\u6587\u4ef6\u5c5e\u6027\u4e0d\u53d8&#xff09;\u3002<\/li>\n<\/ul>\n<h3>2.2 bc&#xff1a;Linux\u7ec8\u7aef\u8ba1\u7b97\u5668<\/h3>\n<p>\u2003\u2003 bc \u662f Linux \u5185\u7f6e\u7684\u547d\u4ee4\u884c\u8ba1\u7b97\u5668&#xff0c;\u652f\u6301 \u6574\u6570\/\u5c0f\u6570\u8fd0\u7b97\u3001\u8fdb\u5236\u8f6c\u6362\u3001\u51fd\u6570\u8ba1\u7b97&#xff0c;\u9002\u5408\u5728\u7ec8\u7aef\u5feb\u901f\u6267\u884c\u6570\u5b66\u8fd0\u7b97&#xff0c;\u65e0\u9700\u6253\u5f00\u56fe\u5f62\u5316\u8ba1\u7b97\u5668\u3002<\/p>\n<p>\u8bed\u6cd5&#xff1a;<\/p>\n<ul>\n<li>\u76f4\u63a5\u8fdb\u5165\u8ba1\u7b97\u5668\u4ea4\u4e92\u6a21\u5f0f&#xff1a;bc&#xff08;\u8f93\u5165\u8fd0\u7b97\u5f0f\u56de\u8f66\u8ba1\u7b97&#xff0c;\u8f93\u5165 quit \u9000\u51fa&#xff09;<\/li>\n<li>\u975e\u4ea4\u4e92\u6a21\u5f0f&#xff08;\u4e00\u6b21\u6027\u8ba1\u7b97&#xff09;&#xff1a;echo &#034;\u8fd0\u7b97\u5f0f&#034; | bc [\u9009\u9879]<\/li>\n<\/ul>\n<p>\u5e38\u7528\u9009\u9879&#xff1a;-l&#xff1a;\u52a0\u8f7d\u6570\u5b66\u5e93&#xff08;\u652f\u6301\u5c0f\u6570\u8fd0\u7b97\u3001\u4e09\u89d2\u51fd\u6570\u7b49&#xff0c;\u5fc5\u52a0\u5426\u5219\u9ed8\u8ba4\u6574\u6570\u8fd0\u7b97&#xff09;\u3002<\/p>\n<p>\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\">#\u9ed8\u8ba4\u4e0b&#xff0c;\u8ba1\u7b97\u5668\u4e0d\u652f\u6301\u5c0f\u6570\u8fd0\u7b97<\/span><br \/>\n<span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># bc<\/span><br \/>\n<span class=\"token function\">bc<\/span> <span class=\"token number\">1.06<\/span>.95<br \/>\nCopyright <span class=\"token number\">1991<\/span>-1994, <span class=\"token number\">1997<\/span>, <span class=\"token number\">1998<\/span>, <span class=\"token number\">2000<\/span>, <span class=\"token number\">2004<\/span>, <span class=\"token number\">2006<\/span> Free Software Foundation, Inc.<br \/>\nThis is <span class=\"token function\">free<\/span> software with ABSOLUTELY NO WARRANTY.<br \/>\nFor details <span class=\"token builtin class-name\">type<\/span> <span class=\"token variable\"><span class=\"token variable\">&#096;<\/span>warranty&#039;.<br \/>\n<span class=\"token number\">1<\/span>&#043;2<br \/>\n<span class=\"token number\">3<\/span><br \/>\n<span class=\"token number\">3<\/span>\/3<br \/>\n<span class=\"token number\">1<\/span><br \/>\n<span class=\"token number\">2<\/span>*3<br \/>\n<span class=\"token number\">6<\/span><br \/>\n<span class=\"token number\">1<\/span>\/2<br \/>\n<span class=\"token number\">0<\/span><br \/>\n<span class=\"token number\">1.2<\/span>\/2<br \/>\n<span class=\"token number\">0<\/span><br \/>\nquit<\/p>\n<p><span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\">#-l\u9009\u9879<\/span><br \/>\n<span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># bc -l<\/span><br \/>\n<span class=\"token function\">bc<\/span> <span class=\"token number\">1.06<\/span>.95<br \/>\nCopyright <span class=\"token number\">1991<\/span>-1994, <span class=\"token number\">1997<\/span>, <span class=\"token number\">1998<\/span>, <span class=\"token number\">2000<\/span>, <span class=\"token number\">2004<\/span>, <span class=\"token number\">2006<\/span> Free Software Foundation, Inc.<br \/>\nThis is <span class=\"token function\">free<\/span> software with ABSOLUTELY NO WARRANTY.<br \/>\nFor details <span class=\"token builtin class-name\">type<\/span> <span class=\"token variable\">&#096;<\/span><\/span>warranty&#039;.<br \/>\n<span class=\"token number\">1<\/span>&#043;2<br \/>\n<span class=\"token number\">3<\/span><br \/>\n<span class=\"token number\">2<\/span>*3<br \/>\n<span class=\"token number\">6<\/span><br \/>\n<span class=\"token number\">1<\/span>\/2<br \/>\n.50000000000000000000<br \/>\n<span class=\"token number\">1.2<\/span>\/2<br \/>\n.60000000000000000000<br \/>\nquit<\/p>\n<p><span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\">#\u975e\u4ea4\u4e92\u6a21\u5f0f-\u7ba1\u9053<\/span><br \/>\n<span class=\"token comment\">#&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/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;1&#043;2&#034; | bc<\/span><br \/>\n<span class=\"token number\">3<\/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;1*2&#034; | bc<\/span><br \/>\n<span class=\"token number\">2<\/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;1?2&#034; | bc<\/span><br \/>\n<span class=\"token punctuation\">(<\/span>standard_in<span class=\"token punctuation\">)<\/span> <span class=\"token number\">1<\/span>: illegal character: ?<br \/>\n<span class=\"token punctuation\">(<\/span>standard_in<span class=\"token punctuation\">)<\/span> <span class=\"token number\">1<\/span>: syntax error<br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># echo &#034;1\/2&#034; | bc<\/span><br \/>\n<span class=\"token number\">0<\/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;1\/2&#034; | bc -l<\/span><br \/>\n.50000000000000000000<\/p>\n<hr \/>\n<h2>\u4e09\u3001\u5fc5\u770b\u9762\u8bd5\u9898&#043;\u5e38\u7528\u70ed\u952e<\/h2>\n<h3>3.1 \u4f60\u7684\u8ba1\u7b97\u673a\u4f53\u7cfb\u7ed3\u6784\u662f\u4ec0\u4e48&#xff1f;<\/h3>\n<p>\u2003\u2003\u8ba1\u7b97\u673a\u4f53\u7cfb\u7ed3\u6784\u662f\u4ec0\u4e48&#xff0c;\u672c\u8d28\u95ee\u7684\u662f CPU\u67b6\u6784\u662f\u4ec0\u4e48\u3002<\/p>\n<p>\u6307\u4ee4&#xff1a;uname -r\u67e5\u770b&#xff1a;<\/p>\n<p><span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># uname -r<\/span><br \/>\n<span class=\"token number\">3.10<\/span>.0-1160.119.1.el7.x86_64<\/p>\n<p>\u5176\u4e2d x86_64\u5c31\u662f\u8ba1\u7b97\u673a\u7684\u4f53\u7cfb\u7ed3\u6784&#xff0c;\u540e\u9762\u5982\u679c\u6ca1\u670964&#xff0c;\u90a3\u5c31\u662f32&#xff08;\u4f46\u662f\u5f88\u5c11\u89c1&#xff09;\u3002<\/p>\n<h3>3.2 \u5982\u4f55\u67e5\u770b\u4f60\u7684 Linux \u7684\u5185\u6838\u7248\u672c&#xff1f;<\/h3>\n<p>\u2003\u2003\u5185\u6838\u7248\u672c\u662fLinux\u64cd\u4f5c\u7cfb\u7edf\u6838\u5fc3\u7ec4\u4ef6\u7684\u7248\u672c\u53f7&#xff0c;\u5c31\u50cf\u6c7d\u8f66\u7684\u53d1\u52a8\u673a\u7248\u672c&#xff0c;\u51b3\u5b9a\u4e86\u7cfb\u7edf\u7684\u57fa\u7840\u529f\u80fd\u548c\u6027\u80fd\u3002<\/p>\n<p>\u4e5f\u662f\u6307\u4ee4uname -r\u67e5\u770b&#xff1a;<\/p>\n<p><span class=\"token number\">3.10<\/span>.0-1160.119.1.el7.x86_64<\/p>\n<p>\u5176\u4e2d3.10.0-1160.119.1\u5c31\u662f\u5185\u6838\u7248\u672c<\/p>\n<p><span class=\"token comment\"># \u60a8\u7684\u5185\u6838\u7248\u672c&#xff1a;3.10.0-1160.119.1<\/span><br \/>\n<span class=\"token number\">3.10<\/span>.0-1160.119.1.el7.x86_64<br \/>\n\u250c\u2500\u2500\u252c\u2500\u2500\u252c\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u25023 \u250210\u25020 \u2502 -1160    \u2502 .119.1     \u2502 .el7 \u2502 .x86_64 \u2502<br \/>\n\u251c\u2500\u2500\u253c\u2500\u2500\u253c\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502\u4e3b\u2502\u6b21\u2502\u4fee\u2502 RedHat    \u2502  \u5b89\u5168\u66f4\u65b0   \u2502 \u53d1\u884c\u7248\u2502  \u786c\u4ef6    \u2502<br \/>\n\u2502\u7248\u2502\u7248\u2502\u8ba2\u2502 \u57fa\u7840\u6784\u5efa   \u2502   \u5e8f\u5217\u53f7    \u2502 \u6807\u8bc6  \u2502  \u67b6\u6784    \u2502<br \/>\n\u2502\u672c\u2502\u672c\u2502\u7248\u2502  \u7f16\u53f7     \u2502             \u2502      \u2502         \u2502<br \/>\n\u2502\u53f7\u2502\u53f7\u2502\u672c\u2502           \u2502            \u2502      \u2502         \u2502<br \/>\n\u2514\u2500\u2500\u2534\u2500\u2500\u2534\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h3>3.3 \u5982\u4f55\u67e5\u770b\u4f60\u7684\u5177\u4f53\u7cfb\u7edf\u53d1\u884c\u7248&#xff1f;<\/h3>\n<p>\u6307\u4ee4:<\/p>\n<p><span class=\"token punctuation\">[<\/span>root&#064;VM-0-6-centos ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cat \/etc\/os-release<\/span><br \/>\n<span class=\"token assign-left variable\">NAME<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;CentOS Linux&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">VERSION<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;7 (Core)&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">ID<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;centos&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">ID_LIKE<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;rhel fedora&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">VERSION_ID<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;7&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">PRETTY_NAME<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;CentOS Linux 7 (Core)&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">ANSI_COLOR<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;0;31&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">CPE_NAME<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;cpe:\/o:centos:centos:7&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">HOME_URL<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;https:\/\/www.centos.org\/&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">BUG_REPORT_URL<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;https:\/\/bugs.centos.org\/&#034;<\/span><\/p>\n<p><span class=\"token assign-left variable\">CENTOS_MANTISBT_PROJECT<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;CentOS-7&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">CENTOS_MANTISBT_PROJECT_VERSION<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;7&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">REDHAT_SUPPORT_PRODUCT<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;centos&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">REDHAT_SUPPORT_PRODUCT_VERSION<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;7&#034;<\/span><\/p>\n<p>\u5176\u4e2d\u53d1\u884c\u7248&#xff1a;<\/p>\n<p><span class=\"token assign-left variable\">NAME<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;CentOS Linux&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">VERSION<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;7 (Core)&#034;<\/span><\/p>\n<h3>3.4 \u56db\u4e2a\u70ed\u952e<\/h3>\n<table>\n<tr>\u70ed\u952e\u540d\u79f0\u4f5c\u7528<\/tr>\n<tbody>\n<tr>\n<td>Ctrl &#043; C<\/td>\n<td>\u4e2d\u65ad\/\u505c\u6b62<\/td>\n<td>\u5f3a\u5236\u7ec8\u6b62\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u524d\u53f0\u8fdb\u7a0b&#xff08;\u7a0b\u5e8f&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>Ctrl &#043; R<\/td>\n<td>\u53cd\u5411\u641c\u7d22<\/td>\n<td>\u641c\u7d22\u5386\u53f2\u547d\u4ee4\u8bb0\u5f55&#xff08;\u8f93\u5165\u5173\u952e\u8bcd\u540e\u4f1a\u5339\u914d\u6700\u8fd1\u6267\u884c\u8fc7\u597d\u53cb\u5173\u952e\u8bcd\u7684\u6307\u4ee4&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>Ctrl &#043; D<\/td>\n<td>\u9000\u51fa<\/td>\n<td>\u7ed3\u675f\u8f93\u5165&#xff08;EOF&#xff09;&#xff0c;\u6216\u9000\u51fa\u5f53\u524dShell\u7ec8\u7aef&#xff08;\u7b49\u540c\u4e8eexit&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>Tab<\/td>\n<td>\u81ea\u52a8\u8865\u5168<\/td>\n<td>\u6700\u5e38\u7528&#xff0c;\u6309\u4e00\u6b21\u4f1a\u81ea\u52a8\u8865\u5168\u6587\u4ef6\u540d\/\u547d\u4ee4&#xff1b;\u6309\u4e0b\u4e24\u6b21\u5217\u51fa\u6240\u6709\u5339\u914d\u9879<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3010\u8865\u5145\u3011&#xff1a;<\/p>\n<p>[ \u5173\u673a ]<\/p>\n<p>\u8bed\u6cd5&#xff1a;shutdown [\u9009\u9879]\u3002<\/p>\n<p>\u5e38\u7528\u9009\u9879&#xff1a;<\/p>\n<ul>\n<li>-h&#xff1a;\u5c06\u7cfb\u7edf\u7684\u670d\u52a1\u505c\u6389\u540e&#xff0c;\u7acb\u5373\u5173\u673a<\/li>\n<li>-r&#xff1a;\u518d\u5c06\u7cfb\u7edf\u7684\u670d\u52a1\u505c\u6389\u4e4b\u540e\u5c31\u91cd\u65b0\u542f\u52a8<\/li>\n<li>-t sec&#xff1a;-t \u540e\u52a0\u79d2\u6570&#xff0c;\u4ee3\u8868\u8fc7\u51e0\u79d2\u540e\u5173\u673a<\/li>\n<\/ul>\n<p>\u3010\u547d\u4ee4\u6269\u5c55\u3011&#xff1a;<\/p>\n<ul>\n<li>\u5b89\u88c5\u548c\u767b\u5f55\u547d\u4ee4&#xff1a; login\u3001shutdown\u3001halt\u3001reboot\u3001install\u3001mount\u3001umount\u3001chsh\u3001exit\u3001last&#xff1b;<\/li>\n<li>\u6587\u4ef6\u5904\u7406\u547d\u4ee4&#xff1a; file\u3001mkdir\u3001grep\u3001dd\u3001find\u3001mv\u3001ls\u3001diff\u3001cat\u3001ln&#xff1b;<\/li>\n<li>\u7cfb\u7edf\u7ba1\u7406\u76f8\u5173\u547d\u4ee4&#xff1a; df\u3001top\u3001free\u3001quota\u3001at\u3001lp\u3001adduser\u3001groupadd\u3001kill\u3001crontab&#xff1b;<\/li>\n<li>\u7f51\u7edc\u64cd\u4f5c\u547d\u4ee4&#xff1a; ifconfig\u3001ip\u3001ping\u3001netstat\u3001telnet\u3001ftp\u3001route\u3001rlogin\u3001rcp\u3001finger\u3001mail\u3001nslookup&#xff1b;<\/li>\n<li>\u7cfb\u7edf\u5b89\u5168\u76f8\u5173\u547d\u4ee4&#xff1a; passwd\u3001su\u3001umask\u3001chgrp\u3001chmod\u3001chown\u3001chattr\u3001sudo\u3001ps\u3001who&#xff1b;<\/li>\n<li>\u5176\u5b83\u547d\u4ee4&#xff1a; tar\u3001unzip\u3001gunzip\u3001unarj\u3001mtools\u3001man\u3001unendcode\u3001uudecode\u3002<\/li>\n<\/ul>\n<hr \/>\n<h2>\u56db\u3001Shell\u4e0e\u5185\u6838\u4ea4\u4e92\u539f\u7406<\/h2>\n<p>\u2003\u2003\u4f5c\u4e3a Linux \u4f7f\u7528\u8005&#xff0c;\u6211\u4eec\u6bcf\u5929\u90fd\u5728\u7ec8\u7aef\u8f93\u5165\u547d\u4ee4&#xff08;\u5982ls\u3001tar&#xff09;&#xff0c;\u4f46\u4f60\u662f\u5426\u597d\u5947&#xff1a;\u6572\u4e0b\u56de\u8f66\u540e&#xff0c;\u8ba1\u7b97\u673a\u662f&#061;&#061;\u5982\u4f55\u7406\u89e3\u5e76\u6267\u884c\u8fd9\u4e2a\u547d\u4ee4\u7684&#xff1f;&#061;&#061;\u6838\u5fc3\u7b54\u6848\u5c31\u5728\u4e8eShell\u4e0e\u5185\u6838\u7684\u534f\u540c\u5de5\u4f5c\u3002<\/p>\n<h3>4.1 \u539f\u7406\u89e3\u6790<\/h3>\n<p>\u2003\u2003Linux \u4e25\u683c\u8bf4\u662f\u4e00\u4e2a\u64cd\u4f5c\u7cfb\u7edf&#xff0c;\u79f0\u4e3a\u201c\u6838\u5fc3&#xff08;kernel&#xff09;\u201d&#xff0c;\u4f46\u662f\u5bf9\u4e8e\u4e00\u822c\u7528\u6237&#xff0c;\u4e0d\u80fd\u76f4\u63a5\u4f7f\u7528kernel&#xff0c;\u800c\u662f\u7531\u5176\u201c\u5916\u58f3\u7a0b\u5e8f\u201d&#xff0c;\u5373Shell\u6765\u4e0e\u6838\u5fc3\u6c9f\u901a\u3002<\/p>\n<p>\u2003\u2003\u4ece\u6280\u672f\u89d2\u5ea6&#xff0c;Shell\u7684\u672c\u8d28\u7684\u662f\u201c\u547d\u4ee4\u89e3\u91ca\u5668\u201d&#xff1a;\u5c06\u7528\u6237\u7684\u547d\u4ee4\u7ffb\u8bd1\u7ed9\u6838\u5fc3\u5904\u7406&#xff1b;\u540c\u65f6&#xff0c;\u5c06\u6838\u5fc3\u5904\u7406\u7ed3\u679c\u7ffb\u8bd1\u7ed9\u7528\u6237\u3002<\/p>\n<h3>4.2 \u660e\u786e\u6838\u5fc3\u89d2\u8272&#xff1a;Shell\u662f\u201c\u7ffb\u8bd1\u5b98\u201d&#xff0c;\u5185\u6838\u662f\u201c\u6267\u884c\u8005\u201d<\/h3>\n<p>\u4e0b\u9762\u4ee5\u4e00\u4e2a\u5f62\u8c61\u6709\u8da3\u7684\u6545\u4e8b\u6765\u7406\u89e3\u4ea4\u4e92\u6d41\u7a0b&#xff1a;<\/p>\n<p>\u4ea4\u4e92\u60c5\u666f\u4e00&#xff1a;\u5c0f\u5218&#xff08;\u7528\u6237&#xff09;\u3001\u738b\u5a46&#xff08;Shell&#xff09;\u3001\u5982\u70df&#xff08;\u5185\u6838&#xff09;<\/p>\n<p>\u2003\u2003\u5c0f\u5218\u662f\u4e00\u4e2a\u6709\u5fd7\u9752\u5e74&#xff0c;\u5e74\u5c11\u6709\u4e3a&#xff0c;\u4f46\u662f\u67b6\u4e0d\u4f4f\u4ed6\u7684\u6751\u957f\u8001\u7239\u50ac\u5a5a\u3002\u7531\u4e8e\u5427\u5c0f\u5218\u5bf9\u8fd9\u4ef6\u4e8b\u6709\u70b9\u4e0d\u77e5\u6240\u63aa&#xff0c;\u66f4\u4e0d\u6562\u4e0e\u5973\u5b69\u5b50\u4ea4\u6d41&#xff0c;\u4e8e\u662f\u62dc\u6258\u738b\u5a46\u53bb\u548c\u5fc3\u7231\u7684\u5973\u5b50\u5982\u70df\u8bf4\u5a92\u3002\u4f46\u662f\u5f53\u738b\u5a46\u5c06\u5c0f\u5218\u7684\u60c5\u51b5\u8bf4\u7ed9\u4e86\u5982\u70df&#xff0c;\u5982\u70df\u62d2\u7edd\u4e86&#xff0c;\u738b\u5a46\u5c31\u628a\u7ed3\u679c\u544a\u8bc9\u4e86\u5c0f\u5218\u3002<\/p>\n<ul>\n<li>\u7528\u6237&#xff08;\u5c0f\u738b&#xff09; \u6709\u64cd\u4f5c\u9700\u6c42&#xff08;\u60f3\u627e\u5982\u82b1&#xff09;&#xff0c;\u4f46\u65e2\u6ca1\u6709\u6743\u9650\u3001\u4e5f\u4e0d\u61c2\u4ea4\u6d41&#xff0c;\u65e0\u6cd5\u76f4\u63a5\u5bf9\u63a5\u5185\u6838&#xff08;\u5982\u82b1&#xff09;&#xff1b;<\/li>\n<li>Shell&#xff08;\u738b\u5a46&#xff09; \u4f5c\u4e3a\u552f\u4e00\u4e2d\u4ecb&#xff0c;\u5148\u63a5\u6536\u7528\u6237\u7684\u6307\u4ee4&#xff08;\u5c0f\u738b\u8bf4 \u201c\u559c\u6b22\u5982\u82b1\u201d&#xff09;&#xff0c;\u89e3\u6790\u540e\u8f6c\u6362\u6210\u5185\u6838\u80fd\u61c2\u7684 \u201c\u7cfb\u7edf\u8c03\u7528\u201d&#xff08;\u738b\u5a46\u6309\u89c4\u77e9\u8bf4\u5a92&#xff09;&#xff1b;<\/li>\n<li>\u5185\u6838&#xff08;\u5982\u82b1&#xff09; \u53ea\u54cd\u5e94 Shell \u7684\u5408\u6cd5\u8bf7\u6c42&#xff0c;\u5904\u7406\u540e\u8fd4\u56de\u7ed3\u679c&#xff08;\u5982\u82b1\u62d2\u7edd&#xff09;&#xff0c;\u518d\u7531 Shell \u628a\u7ed3\u679c\u683c\u5f0f\u5316\u53cd\u9988\u7ed9\u7528\u6237&#xff08;\u738b\u5a46\u544a\u8bc9\u5c0f\u738b\u88ab\u62d2&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u3010\u6838\u5fc3\u3011&#xff1a;\u7528\u6237\u4e0d\u76f4\u63a5\u63a5\u89e6\u5185\u6838&#xff0c;\u6240\u6709\u6307\u4ee4\u90fd\u7ecf Shell \u201c\u7ffb\u8bd1\u201d \u540e\u4f20\u9012\u7ed9\u5185\u6838&#xff0c;\u5185\u6838\u5904\u7406\u5b8c\u7ed3\u679c\u518d\u901a\u8fc7 Shell \u56de\u4f20\u7ed9\u7528\u6237\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260122012434-69717c52ce1c5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4ea4\u4e92\u60c5\u666f\u4e8c&#xff1a;<\/p>\n<p>\u2003\u2003\u542c\u5230\u88ab\u62d2\u7edd\u540e&#xff0c;\u5c0f\u5218\u4e5f\u5fcd\u4e0d\u4f4f\u4e86&#xff0c;\u6211\u8fd9\u4e48\u4f18\u79c0\u4e00\u4e2a\u4eba&#xff0c;\u8fd8\u80fd\u62d2\u7edd\u6211&#xff1f;\u4e8e\u662f\u518d\u6b21\u62dc\u6258\u738b\u5a46\u53bb\u8bf4\u5a92\u3002\u7b49\u5230\u738b\u5a46\u6539\u5929\u518d\u53bb&#xff0c;\u53d1\u73b0\u5982\u70df\u548c\u522b\u7684\u7537\u751f\u5728\u4e00\u8d77&#xff0c;\u738b\u5a46\u8fd9\u5c31\u660e\u767d\u4e86&#xff0c;\u4e8e\u662f\u5c06\u5982\u70df\u6709\u5bf9\u8c61\u7684\u7ed3\u679c\u544a\u8bc9\u4e86\u5c0f\u5218&#xff0c;\u5c0f\u5218\u4e5f\u5c31\u660e\u767d\u4e86\u3002<\/p>\n<ul>\n<li>\u7528\u6237&#xff08;\u5c0f\u738b&#xff09; \u63d0\u51fa\u9700\u6c42&#xff08;\u518d\u53bb\u8bf4\u5a92&#xff09;&#xff0c;\u4f46\u53ef\u80fd\u63d0\u51fa\u4e0d\u5408\u7406\u6216\u975e\u6cd5\u7684\u8981\u6c42&#xff1b;<\/li>\n<li>Shell&#xff08;\u738b\u5a46&#xff09; \u4f5c\u4e3a \u201c\u5b88\u95e8\u5458\u201d&#xff0c;\u5728\u5411\u5185\u6838\u4f20\u9012\u8bf7\u6c42\u524d&#xff0c;\u4f1a\u5148\u8fdb\u884c\u524d\u7f6e\u5224\u65ad&#xff08;\u67e5\u770b\u60c5\u51b5&#xff09;&#xff1b;<\/li>\n<li>Shell \u53d1\u73b0\u95ee\u9898&#xff08;\u5982\u82b1\u6709\u5bf9\u8c61 \/ \u547d\u4ee4\u8bed\u6cd5\u9519\u8bef&#xff09;&#xff0c;\u76f4\u63a5\u62e6\u622a\u8bf7\u6c42&#xff0c;\u4e0d\u518d\u53bb\u6253\u6270\u5185\u6838&#xff1b;<\/li>\n<li>\u53cd\u9988\u7ed3\u679c&#xff1a;Shell \u76f4\u63a5\u544a\u8bc9\u7528\u6237 \u201c\u4e0d\u884c\u201d&#xff0c;\u5185\u6838&#xff08;\u5982\u82b1&#xff09;\u5168\u7a0b\u672a\u88ab\u6253\u6270\u3002<\/li>\n<\/ul>\n<p>\u3010\u6838\u5fc3\u3011&#xff1a;Shell \u5177\u6709 \u201c\u8fc7\u6ee4 \/ \u62e6\u622a\u201d \u529f\u80fd&#xff0c;\u80fd\u5728\u7528\u6237\u8bf7\u6c42\u89e6\u53ca\u5185\u6838\u4e4b\u524d&#xff0c;\u81ea\u884c\u5904\u7406\u6216\u62d2\u7edd\u4e0d\u5408\u7406\u7684\u6307\u4ee4&#xff0c;\u4ece\u800c\u4fdd\u62a4\u5185\u6838\u7684\u8d44\u6e90\u548c\u5b89\u5168\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260122012435-69717c532d25a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4ea4\u4e92\u573a\u666f\u4e09&#xff1a;<\/p>\n<p>\u2003\u2003\u5c0f\u5218\u672c\u60f3\u653e\u5f03&#xff0c;\u4f46\u662f\u4ed6\u8001\u7239\u4ecd\u8981\u6c42\u738b\u5a46\u518d\u53bb\u8bd5\u8bd5&#xff0c;\u788d\u4e8e\u60c5\u9762&#xff0c;\u738b\u5a46\u7b54\u5e94\u4e86 \u3002\u4f46\u662f\u4e3a\u4e86\u4e0d\u7838\u4e86\u81ea\u5df1\u8fd9\u5757\u91d1\u5b57\u62db\u724c&#xff0c;\u6d3e\u4e86\u5f92\u5f1f\u53bb\u3002<\/p>\n<ul>\n<li>\u7528\u6237&#xff08;\u5c0f\u5218&#xff09; \u53d7\u8001\u7239\u65bd\u538b&#xff0c;\u518d\u6b21\u5411 Shell&#xff08;\u738b\u5a46&#xff09;\u53d1\u8d77\u8bf7\u6c42&#xff08;\u627e\u5982\u82b1\u8bf4\u5a92&#xff09;&#xff1b;<\/li>\n<li>Shell&#xff08;\u738b\u5a46&#xff09; \u788d\u4e8e\u60c5\u9762\u65e0\u6cd5\u62d2\u7edd&#xff0c;\u4f46\u4e3a\u4e86\u4fdd\u62a4\u81ea\u8eab&#xff08;\u4e0d\u7838\u62db\u724c&#xff09;&#xff0c;\u4e0d\u76f4\u63a5\u5bf9\u63a5\u5185\u6838&#xff08;\u5982\u82b1&#xff09;&#xff0c;\u800c\u662f\u521b\u5efa\u5b50\u8fdb\u7a0b&#xff08;\u6d3e\u5f92\u5f1f&#xff09;\u4ee3\u4e3a\u6267\u884c\u8bf7\u6c42&#xff1b;<\/li>\n<li>\u5b50\u8fdb\u7a0b&#xff08;\u5f92\u5f1f&#xff09; \u4f5c\u4e3a Shell \u7684\u4ee3\u7406&#xff0c;\u5411\u5185\u6838&#xff08;\u5982\u82b1&#xff09;\u4f20\u9012\u8bf7\u6c42&#xff0c;\u5185\u6838\u5904\u7406\u540e\u8fd4\u56de\u7ed3\u679c&#xff08;\u62d2\u7edd&#xff09;&#xff1b;<\/li>\n<li>\u5b50\u8fdb\u7a0b&#xff08;\u5f92\u5f1f&#xff09; \u7ed3\u675f\u5e76\u5c06\u7ed3\u679c\u53cd\u9988\u7ed9 Shell&#xff08;\u738b\u5a46&#xff09;&#xff0c;\u6700\u7ec8\u7531 Shell \u628a\u7ed3\u679c\u544a\u77e5\u7528\u6237&#xff08;\u5c0f\u5218&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u3010\u6838\u5fc3\u3011&#xff1a; Shell \u5728\u5904\u7406\u7528\u6237\u8bf7\u6c42\u65f6&#xff0c;\u4f1a\u521b\u5efa\u72ec\u7acb\u5b50\u8fdb\u7a0b\u4ee3\u4e3a\u4e0e\u5185\u6838\u4ea4\u4e92&#xff0c;\u65e2\u6ee1\u8db3\u7528\u6237\u9700\u6c42&#xff0c;\u53c8\u4fdd\u62a4\u81ea\u8eab\u4e3b\u8fdb\u7a0b\u4e0d\u53d7\u5f71\u54cd&#xff0c;\u907f\u514d \u201c\u7838\u62db\u724c\u201d\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260122012435-69717c53bbd66.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\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\u672c\u6587\u8986\u76d6Linux\u7ec8\u7aef\u5b9e\u64cd\u6280\u80fd\u4e0eShell\u3001\u5185\u6838\u4ea4\u4e92\u539f\u7406&#xff0c;\u901a\u4fd7\u6613\u61c2\u3001\u5c42\u5c42\u9012\u8fdb\u3002 \u2003\u2003\u638c\u63e1\u6587\u4e2d\u6307\u4ee4\u53ef\u9ad8\u6548\u5904\u7406\u6587\u4ef6\u64cd\u4f5c&#xff0c;\u7262\u8bb0\u70ed\u952e\u4e0e\u67e5\u8be2\u547d\u4ee4\u63d0\u5347\u6548\u7387&#xff0c;\u7406\u89e3\u4ea4\u4e92\u539f\u7406\u53ef\u6392\u67e5\u57fa\u7840\u5f02\u5e38\u3002<\/p>\n<p>\u2003\u2003\u5efa\u8bae\u5b9e\u64cd\u6848\u4f8b\u3001\u7262\u8bb0\u539f\u7406&#xff0c;\u4e3aLinux\u8fdb\u9636\u5b66\u4e60\u7b51\u7262\u57fa\u7840\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260122012436-69717c54116a2.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\u3001\u6587\u4ef6\u538b\u7f29\u4e0e\u89e3\u538b1.1 tar&#xff1a;\u538b\u7f29\u4e0e\u89e3\u538b\u7684\u201c\u4e07\u80fd\u5de5\u5177\u201d\u4e8c\u3001\u8fdc\u7a0b\u6587\u4ef6\u4f20\u8f93\u7ec8\u7aef\u8ba1\u7b972.1 scp&#xff1a;\u8fdc\u7a0b\u62f7\u8d1d2.2 bc&#xff1a;Linux\u7ec8\u7aef\u8ba1\u7b97\u5668\u4e09\u3001\u5fc5\u770b\u9762\u8bd5\u9898\u5e38\u7528\u70ed\u952e3.1 \u4f60\u7684\u8ba1\u7b97\u673a\u4f53\u7cfb\u7ed3\u6784\u662f<\/p>\n","protected":false},"author":2,"featured_media":63714,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,58,81,1666,50,43,44],"topic":[],"class_list":["post-63720","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-linux","tag-python","tag-1666","tag-50","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u6587\u4ef6\u64cd\u4f5c\u5b9e\u6218\uff1a\u538b\u7f29\/\u4f20\u8f93\/\u8ba1\u7b9710\u5206\u949f\u901f\u6210\uff0c\u638c\u63e1\u6838\u5fc3\u547d\u4ee4\u7ec4\u5408\u4e0eShell\u5185\u6838\u4ea4\u4e92\u79d8\u7c4d - \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\/63720.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u6587\u4ef6\u64cd\u4f5c\u5b9e\u6218\uff1a\u538b\u7f29\/\u4f20\u8f93\/\u8ba1\u7b9710\u5206\u949f\u901f\u6210\uff0c\u638c\u63e1\u6838\u5fc3\u547d\u4ee4\u7ec4\u5408\u4e0eShell\u5185\u6838\u4ea4\u4e92\u79d8\u7c4d - \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\u3001\u6587\u4ef6\u538b\u7f29\u4e0e\u89e3\u538b1.1 tar&#xff1a;\u538b\u7f29\u4e0e\u89e3\u538b\u7684\u201c\u4e07\u80fd\u5de5\u5177\u201d\u4e8c\u3001\u8fdc\u7a0b\u6587\u4ef6\u4f20\u8f93\u7ec8\u7aef\u8ba1\u7b972.1 scp&#xff1a;\u8fdc\u7a0b\u62f7\u8d1d2.2 bc&#xff1a;Linux\u7ec8\u7aef\u8ba1\u7b97\u5668\u4e09\u3001\u5fc5\u770b\u9762\u8bd5\u9898\u5e38\u7528\u70ed\u952e3.1 \u4f60\u7684\u8ba1\u7b97\u673a\u4f53\u7cfb\u7ed3\u6784\u662f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/63720.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-22T01:24:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260122012434-69717c5296768.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=\"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\/63720.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/63720.html\",\"name\":\"Linux\u6587\u4ef6\u64cd\u4f5c\u5b9e\u6218\uff1a\u538b\u7f29\/\u4f20\u8f93\/\u8ba1\u7b9710\u5206\u949f\u901f\u6210\uff0c\u638c\u63e1\u6838\u5fc3\u547d\u4ee4\u7ec4\u5408\u4e0eShell\u5185\u6838\u4ea4\u4e92\u79d8\u7c4d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-22T01:24:37+00:00\",\"dateModified\":\"2026-01-22T01:24:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/63720.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/63720.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/63720.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u6587\u4ef6\u64cd\u4f5c\u5b9e\u6218\uff1a\u538b\u7f29\/\u4f20\u8f93\/\u8ba1\u7b9710\u5206\u949f\u901f\u6210\uff0c\u638c\u63e1\u6838\u5fc3\u547d\u4ee4\u7ec4\u5408\u4e0eShell\u5185\u6838\u4ea4\u4e92\u79d8\u7c4d\"}]},{\"@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\u6587\u4ef6\u64cd\u4f5c\u5b9e\u6218\uff1a\u538b\u7f29\/\u4f20\u8f93\/\u8ba1\u7b9710\u5206\u949f\u901f\u6210\uff0c\u638c\u63e1\u6838\u5fc3\u547d\u4ee4\u7ec4\u5408\u4e0eShell\u5185\u6838\u4ea4\u4e92\u79d8\u7c4d - \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\/63720.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u6587\u4ef6\u64cd\u4f5c\u5b9e\u6218\uff1a\u538b\u7f29\/\u4f20\u8f93\/\u8ba1\u7b9710\u5206\u949f\u901f\u6210\uff0c\u638c\u63e1\u6838\u5fc3\u547d\u4ee4\u7ec4\u5408\u4e0eShell\u5185\u6838\u4ea4\u4e92\u79d8\u7c4d - \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\u3001\u6587\u4ef6\u538b\u7f29\u4e0e\u89e3\u538b1.1 tar&#xff1a;\u538b\u7f29\u4e0e\u89e3\u538b\u7684\u201c\u4e07\u80fd\u5de5\u5177\u201d\u4e8c\u3001\u8fdc\u7a0b\u6587\u4ef6\u4f20\u8f93\u7ec8\u7aef\u8ba1\u7b972.1 scp&#xff1a;\u8fdc\u7a0b\u62f7\u8d1d2.2 bc&#xff1a;Linux\u7ec8\u7aef\u8ba1\u7b97\u5668\u4e09\u3001\u5fc5\u770b\u9762\u8bd5\u9898\u5e38\u7528\u70ed\u952e3.1 \u4f60\u7684\u8ba1\u7b97\u673a\u4f53\u7cfb\u7ed3\u6784\u662f","og_url":"https:\/\/www.wsisp.com\/helps\/63720.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-22T01:24:37+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260122012434-69717c5296768.gif"}],"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\/63720.html","url":"https:\/\/www.wsisp.com\/helps\/63720.html","name":"Linux\u6587\u4ef6\u64cd\u4f5c\u5b9e\u6218\uff1a\u538b\u7f29\/\u4f20\u8f93\/\u8ba1\u7b9710\u5206\u949f\u901f\u6210\uff0c\u638c\u63e1\u6838\u5fc3\u547d\u4ee4\u7ec4\u5408\u4e0eShell\u5185\u6838\u4ea4\u4e92\u79d8\u7c4d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-22T01:24:37+00:00","dateModified":"2026-01-22T01:24:37+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/63720.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/63720.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/63720.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux\u6587\u4ef6\u64cd\u4f5c\u5b9e\u6218\uff1a\u538b\u7f29\/\u4f20\u8f93\/\u8ba1\u7b9710\u5206\u949f\u901f\u6210\uff0c\u638c\u63e1\u6838\u5fc3\u547d\u4ee4\u7ec4\u5408\u4e0eShell\u5185\u6838\u4ea4\u4e92\u79d8\u7c4d"}]},{"@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\/63720","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=63720"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/63720\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/63714"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=63720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=63720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=63720"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=63720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}