{"id":62080,"date":"2025-04-29T14:23:46","date_gmt":"2025-04-29T06:23:46","guid":{"rendered":"https:\/\/fwq.ai\/blog\/62080\/"},"modified":"2025-04-29T14:23:46","modified_gmt":"2025-04-29T06:23:46","slug":"4-%e4%b8%aa-linux-%e6%8a%80%e5%b7%a7%ef%bc%8c%e4%bd%a0%e5%80%bc%e5%be%97%e6%8b%a5%e6%9c%89-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/62080\/","title":{"rendered":"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709"},"content":{"rendered":"<p> <\/p>\n<p style=\"margin: 0px 0px 0em;padding: 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/275\/013\/d6c54d0340c75f5597c55be4432ae7b8-0.png\" class=\"aligncenter\" title=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe\" alt=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe\" \/><\/p>\n<p style=\"margin: 0px;padding: 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">Linux \u5df2\u7ecf\u9010\u6e10\u6210\u4e3a\u4e86\u6700\u53d7\u5f00\u53d1\u8005\u6b22\u8fce\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u56db\u4e2a\u6781\u4e3a\u5b9e\u7528\u7684\u6280\u5de7\uff0c\u76f8\u4fe1\u8fd9\u5c06\u80fd\u591f\u63d0\u9ad8\u60a8\u5728 Linux \u4e0b\u7684\u5de5\u4f5c\u6548\u7387\u548c\u6d41\u7545\u6027\uff0c\u4e5f\u8ba9\u5de5\u4f5c\u53d8\u5f97\u66f4\u4e3a\u8212\u9002\u3001\u4f18\u96c5\u3002<\/span><\/p>\n<h3><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">1. \u8df3\u8f6c\u76ee\u5f55\u4f18\u96c5\u987a\u6ed1<\/span><\/h3>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">1.1 bd \u547d\u4ee4<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5feb\u901f\u56de\u5230 Bash \u4e2d\u7684\u7279\u5b9a\u7236\u76ee\u5f55\uff0c\u800c\u4e0d\u662f\u591a\u4f59\u5730\u952e\u5165&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">cd ..\/..\/..<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5982\u679c\u60a8\u5728\u6b64\u8def\u5f84\u4e2d<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\/home\/radia\/work\/python\/tkinter\/one\/two<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5e76\u4e14\u60f3\u5feb\u901f\u8f6c\u5230\u76ee\u5f55 python\uff0c\u53ea\u9700\u952e\u5165:<\/span><\/p>\n<pre>bd&nbsp;python<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u6216\u8005\u4ec5\u8f93\u5165\u76ee\u5f55\u7684\u524d\u51e0\u4e2a\u5b57\u6bcd\uff0c\u5982\u5339\u914d\u591a\u4e2a\u76ee\u5f55\uff0c\u5219\u56de\u5230\u6700\u8fd1\u7684\u4e00\u4e2a\uff1a<\/span><\/p>\n<pre>bd&nbsp;p<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-style: normal;font-weight: 400;text-indent: 0px;text-transform: none;text-decoration: none;color: black;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\"><strong>\u793a\u4f8b:<\/strong><\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/275\/013\/c5f9cb5e9f1a2ea2dc41b492b737bcbf-1.gif\" class=\"aligncenter\" title=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe1\" alt=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe1\" \/> <\/p>\n<p style=\"max-width:90%\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\"><strong>bd \u547d\u4ee4\u5b89\u88c5:<\/strong><\/span><\/p>\n<pre>sudo&nbsp;wget&nbsp;--no-check-certificate&nbsp;-O&nbsp;\/usr\/bin\/bd&nbsp;https:\/\/raw.githubusercontent.com\/vigneshwaranr\/bd\/master\/bd\nsudo&nbsp;chmod&nbsp;+rx&nbsp;\/usr\/bin\/bd\necho&nbsp;'alias&nbsp;bd=\".&nbsp;bd&nbsp;-si\"'&nbsp;&amp;gt;&amp;gt;&nbsp;~\/.bashrc\nsource&nbsp;~\/.bashrc<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u8981\u542f\u7528\u533a\u5206\u5927\u5c0f\u5199\u7684\u76ee\u5f55\u540d\u79f0\u5339\u914d\uff0c\u8bf7\u5728\u522b\u540d\u4e2d\u4f7f\u7528 -s \u4ee3\u66ff -si\uff1a<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5982\u5e0c\u671b\u4e86\u89e3\u66f4\u591a\u53ef\u4ee5\u8bbf\u95ee\u5f00\u53d1\u8005 GitHub:<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">https:\/\/github.com\/vigneshwaranr\/bd<\/span><\/p>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">1.2 cd \u547d\u4ee4\u7684\u4e00\u4e9b\u5e38\u7528\u6280\u5de7<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">cd \u540e\u9762\u4e0d\u8ddf\u4efb\u4f55\u53c2\u6570\uff0c\u56de\u7528\u6237\u4e3b\u76ee\u5f55\uff0c\u7b49\u540c\uff1acd ~\u3002<\/span><\/p>\n<pre>cd\ncd&nbsp;~<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">cd &#8211; \u56de\u9000\uff0c\u8fd4\u56de\u4e4b\u524d\u76ee\u5f55\uff1a<\/span><\/p>\n<pre>cd&nbsp;-<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">1.3 \u81ea\u5b9a\u4e49\u547d\u4ee4\uff0c\u8df3\u8f6c\u5230\u5e38\u7528\u76ee\u5f55<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\"><strong>\u5bf9\u4e8e\u7ecf\u5e38\u4f7f\u7528\u7684\u76ee\u5f55\uff0c\u53ef\u4ee5\u589e\u52a0\u4e00\u6761\u81ea\u5b9a\u4e49\u547d\u4ee4\uff0c\u5b9e\u73b0\u4e00\u952e\u76f4\u8fbe<\/strong>\u3002\u8fd9\u70b9\u5728\u4e0b\u6587\u8be6\u89e3\uff0c\u5148\u770b\u4e2a\u6548\u679c\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5982\u679c\u60a8\u5728\u6b64\u8def\u5f84\u4e2d<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\/home\/radia\/work\/python\/tkinter\/one\/two<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\uff0c\u5e76\u4e14\u60f3\u5feb\u901f\u8f6c\u5230\u76ee\u5f55&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\/home\/radia\/work\/\/linux-3.16.6<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\uff0c\u7136\u540e\u53ea\u9700\u952e\u5165\uff1a<\/span><\/p>\n<pre>cl<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-style: normal;font-weight: 400;text-indent: 0px;text-transform: none;text-decoration: none;color: black;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\"><strong>\u793a\u4f8b:<\/strong><\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/275\/013\/c5f9cb5e9f1a2ea2dc41b492b737bcbf-2.gif\" class=\"aligncenter\" title=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe2\" alt=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe2\" \/> <\/p>\n<h3><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">2. \u591a\u7ec8\u7aef\u64cd\u4f5c<\/span><\/h3>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5728 Linux \u7ec8\u7aef\u64cd\u4f5c\u65f6\uff0c\u4efb\u610f\u5206\u5272\u5c4f\u5e55\u4e3a\u591a\u4e2a\u7a97\u53e3\uff0c\u51cf\u5c11\u9f20\u6807\u64cd\u4f5c\uff0c\u90fd\u662f\u63d0\u9ad8\u6548\u7387\u7684\u597d\u529e\u6cd5\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5728\u6b64\uff0c\u63a8\u8350 Terminator\u3002\u5b89\u88c5\u65b9\u6cd5\uff1a<\/span><\/p>\n<pre>sudo&nbsp;apt-get&nbsp;install&nbsp;terminator<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5b89\u88c5\u5b8c\u6210\u540e CTRL + ALT + T \u6253\u5f00\u8f6f\u4ef6\uff0c\u6216\u8005\u5728\u6240\u6709\u7a0b\u5e8f\u4e2d\u641c\u7d22 terminator\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5982\u4e0b\u56fe\u6240\u5c55\u793a\u4e86\u4e00\u4e2a\u4f7f\u7528\u5feb\u6377\u952e\u5206\u5c4f\u51fa\u4e09\u4e2a\u5c0f\u7a97\u53e3\u7684\u793a\u4f8b\uff0c\u5e76\u4e14\u5c06\u5de6\u4e0b\u7a97\u53e3\u91cd\u547d\u540d\u4e3a log\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u8fd9\u6837\u5206\u5272\u7684\u4e09\u90e8\u5206\uff1a<\/span><\/p>\n<ul>\n<li>\n<p style=\"margin: 5px 0px 16px;padding: 0px;max-width: 100%;clear: both;min-height: 1em;text-align: left;font-weight: 500;line-height: 1.75em\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5de6\u4e0b\u89d2\u53ef\u4ee5\u4e13\u95e8\u7528\u6765\u663e\u793a\u5b9e\u65f6\u4e32\u53e3 log\uff1b<\/span><\/p>\n<\/li>\n<li>\n<p style=\"margin: 5px 0px 16px;padding: 0px;max-width: 100%;clear: both;min-height: 1em;text-align: left;font-weight: 500;line-height: 1.75em\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5de6\u4e0a\u4fa7\u53ef\u4ee5\u7528\u6765\u7f16\u8bd1\u4ee3\u7801\uff0c\u67e5\u770b\u7f16\u8bd1\u62a5\u9519\u7b49\uff1b<\/span><\/p>\n<\/li>\n<li>\n<p style=\"margin: 5px 0px 16px;padding: 0px;max-width: 100%;clear: both;min-height: 1em;text-align: left;font-weight: 500;line-height: 1.75em\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u53f3\u4fa7\u53ef\u4ee5\u7f16\u8f91\u4ee3\u7801\uff0c\u6d4f\u89c8\u6587\u4ef6\u7b49\u3002<\/span><\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/275\/013\/99a9ebdeb786aecfb0480173ccb061cd-3.gif\" class=\"aligncenter\" title=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe3\" alt=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe3\" \/> <\/p>\n<p style=\"max-width:90%\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5f53\u7136\uff0c<strong>\u5404\u4e2a\u5206\u5c4f\u7684\u5927\u5c0f\u4e5f\u662f\u53ef\u4ee5\u7075\u6d3b\u8c03\u8282\u7684\uff0c\u9f20\u6807\u62d6\u52a8\u548c\u5feb\u6377\u952e CTRL + SHIFT + \u2191 \u2193 \u2190 \u2192 \u90fd\u53ef\u4ee5\u5b9e\u73b0<\/strong>\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5982\u679c\u4e00\u4e2a\u6807\u7b7e\u9875\u4e0d\u80fd\u6ee1\u8db3\u9700\u6c42\uff0c\u53ef\u4ee5\u4f7f\u7528\u5feb\u6377\u952e CTRL + SHIFT + T \u5f00\u542f\u591a\u4e2a\u6807\u7b7e\u9875\uff0c\u6807\u7b7e\u9875\u4e5f\u53ef\u4ee5\u7f16\u8f91\u6807\u9898\uff0c\u4fbf\u4e8e\u533a\u5206\u3002\u53e6\u5916\uff0c\u641c\u7d22\u516c\u4f17\u53f7\u9876\u7ea7\u79d1\u6280\u540e\u53f0\u56de\u590d\u201cAPI\u63a5\u53e3\u201d\uff0c\u83b7\u53d6\u4e00\u4efd\u60ca\u559c\u793c\u5305\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-style: normal;font-weight: 400;text-indent: 0px;text-transform: none;text-decoration: none;color: black;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5e38\u7528\u7684\u5feb\u6377\u952e\u5982\u4e0b\uff1a<\/span><\/p>\n<ul>\n<li>\n<p style=\"margin: 5px 0px 16px;padding: 0px;max-width: 100%;clear: both;min-height: 1em;text-align: left;font-weight: 500;line-height: 1.75em\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">CRTL + SHIFT + T\uff0c\u5f00\u65b0\u6807\u7b7e\u9875<\/span><\/p>\n<\/li>\n<li>\n<p style=\"margin: 5px 0px 16px;padding: 0px;max-width: 100%;clear: both;min-height: 1em;text-align: left;font-weight: 500;line-height: 1.75em\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">CRTL + SHIFT + E\uff0c\u5782\u76f4\u65b9\u5411\u5206\u5c4f<\/span><\/p>\n<\/li>\n<li>\n<p style=\"margin: 5px 0px 16px;padding: 0px;max-width: 100%;clear: both;min-height: 1em;text-align: left;font-weight: 500;line-height: 1.75em\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">CRTL + SHIFT + O\uff0c\u6c34\u5e73\u65b9\u5411\u5206\u5c4f<\/span><\/p>\n<\/li>\n<li>\n<p style=\"margin: 5px 0px 16px;padding: 0px;max-width: 100%;clear: both;min-height: 1em;text-align: left;font-weight: 500;line-height: 1.75em\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">ALT + \u2191 \u2193 \u2190 \u2192 \u5728\u540c\u4e00\u4e2a\u6807\u7b7e\u9875\u4e2d\u7684\u5404\u4e2a\u5206\u5c4f\u4e4b\u95f4\u5207\u6362<\/span><\/p>\n<\/li>\n<li>\n<p style=\"margin: 5px 0px 16px;padding: 0px;max-width: 100%;clear: both;min-height: 1em;text-align: left;font-weight: 500;line-height: 1.75em\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">CTRL + PAGEUP \/ PAGEDOWN \u5de6\u53f3\u5207\u6362\u4e0d\u540c\u6807\u7b7e\u9875<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5feb\u6377\u952e\u4e5f\u53ef\u4ee5\u6309\u7167\u81ea\u5df1\u7684\u4e60\u60ef\u8fdb\u884c\u914d\u7f6e\uff0c\u6bd4\u5982\u5207\u6362\u6807\u7b7e\u9875\u7684\u5feb\u6377\u952e\u662f CRTL + PAGEUP\/PAGEDOWN\uff0c\u5bf9\u4e8e\u8fd9\u6837\u4e00\u4e2a\u5e38\u7528\u64cd\u4f5c\uff0c\u624b\u6307\u79fb\u52a8\u5230 PAGEUP\/PAGEDOWN \u6309\u952e\uff0c\u8ddd\u79bb\u8fd8\u662f\u592a\u957f\u4e86\uff0c\u6211\u4e60\u60ef\u5c06\u5176\u914d\u7f6e\u4e3a ALT + H \u548c ALT + L \uff0c\u56e0\u4e3a ALT \u6309\u952e\u914d\u5408\u65b9\u5411\u952e\u53ef\u4ee5\u5207\u6362\u540c\u4e00\u6807\u7b7e\u9875\u4e2d\u7684\u4e0d\u540c\u5206\u5c4f\uff0c\u7d22\u6027\u4e5f\u5c31\u8ba9 ALT \u6765\u5207\u6362\u4e0d\u540c\u6807\u7b7e\u9875\u3002\u9009\u62e9 H \u548c T \u662f\u56e0\u4e3a\u4e60\u60ef\u4e86 Vim \u4e2d H \u548c T \u7684\u5de6\u53f3\u79fb\u52a8\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5c06\u5e38\u7528\u529f\u80fd\u5355\u72ec\u9884\u7559\u4e00\u4e2a\u7ec8\u7aef\u7a97\u53e3\uff0c\u5e76\u4e14\u7f16\u8f91\u7ec8\u7aef\u6807\u9898\uff0c\u53ef\u4ee5\u63d0\u9ad8\u6548\u7387\u3002\u6309\u7167\u81ea\u5df1\u7684\u4e60\u60ef\u5206\u5c4f\u7a97\u53e3\uff0c\u8c03\u6574\u7a97\u53e3\uff0c\u518d\u7ed3\u5408\u4e0b\u4e00\u5c0f\u8282\u4e2d\u914d\u5236\u51fa\u7684\u5f3a\u5927 Vim\uff0c\u5c31\u53ef\u4ee5\u8f7b\u677e\u6253\u9020\u81ea\u5df1\u4e13\u5c5e\u4e14\u9ad8\u6548\u7684 IDE \u4e86\u3002<\/span><\/p>\n<h3><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">3. \u6587\u4ef6\u7f16\u8f91<\/span><\/h3>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">3.1 Markdown \u7f16\u8f91\u5668\u63a8\u8350<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">Markdown \u662f\u76ee\u524d\u6700\u4e3a\u6d41\u884c\u7684\u6807\u8bb0\u8bed\u8a00\uff0c\u53ef\u4ee5\u7ed9\u5e38\u89c4\u7684\u6587\u672c\u6587\u4ef6\u8d4b\u4e88\uff1a\u683c\u5f0f\u6392\u7248\u3001\u63d2\u5165\u56fe\u7247\u3001\u63d2\u5165\u56fe\u8868\u3001\u63d2\u5165\u4ee3\u7801\u7b49\u5b9e\u7528\u529f\u80fd\uff0c\u6b64\u5904\u63a8\u8350 Typora \u7f16\u8f91\u5668\uff0c\u6587\u827a\u98ce\u683c\uff0c\u529f\u80fd\u5f3a\u5927\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-style: normal;font-weight: 400;text-indent: 0px;text-transform: none;text-decoration: none;color: black;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">Tpyora \u5b89\u88c5\uff1a<\/span><\/p>\n<pre>wget&nbsp;-qO&nbsp;-&nbsp;https:\/\/typora.io\/linux\/public-key.asc&nbsp;|&nbsp;sudo&nbsp;apt-key&nbsp;add&nbsp;-\n#&nbsp;add&nbsp;Typora's&nbsp;repository\nsudo&nbsp;add-apt-repository&nbsp;'deb&nbsp;https:\/\/typora.io\/linux&nbsp;.\/'\nsudo&nbsp;apt-get&nbsp;update\n#&nbsp;install&nbsp;typora\nsudo&nbsp;apt-get&nbsp;install&nbsp;typora<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">Markdown \u548c Tpyora \u4f7f\u7528\u7b80\u5355\uff0c\u4e00\u770b\u5c31\u4f1a\uff0c\u4e0d\u7528\u518d\u591a\u505a\u4ecb\u7ecd\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u53ef\u4ee5\u5c06 Markdown \u683c\u5f0f\u4f5c\u4e3a\u8bb0\u5f55\u7b14\u8bb0\uff0c\u6574\u7406\u81ea\u5df1\u77e5\u8bc6\u6811\u7684\u5e38\u7528\u683c\u5f0f\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">Typora \u5b98\u7f51\uff1ahttps:\/\/www.typora.io<\/span><\/p>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">3.2 \u4ee3\u7801\u7f16\u8f91\u4e0e\u67e5\u770b<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u88ab\u516c\u8ba4\u6700\u597d\u7528\u7684\u4ee3\u7801\u7f16\u8f91\u5668\u5f53\u7136\u662f Vim\uff0c\u4f46\u8bb8\u591a\u529f\u80fd\u914d\u7f6e\u8d77\u6765\u6709\u4e9b\u7e41\u7410\u3002\u9700\u8981\u82b1\u5927\u91cf\u7684\u65f6\u95f4\u53bb\u5bf9\u6bd4\u3001\u7814\u7a76\u5404\u79cd\u63d2\u4ef6\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u5bf9\u4e8e\u521d\u5b66\u8005\u662f\u4e0d\u53cb\u597d\u7684\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u672c\u6587\u5148\u4e0d\u5bf9\u4efb\u4f55 Vim \u63d2\u4ef6\u505a\u5bf9\u6bd4\uff0c\u907f\u514d\u773c\u82b1\u7f2d\u4e71\uff0c\u9677\u5165\u9009\u62e9\u6050\u60e7\u75c7\uff0c\u800c\u662f\u76f4\u63a5\u9644\u4e0a\u6211\u591a\u5e74\u79ef\u7d2f\u3001\u4e00\u76f4\u5728\u4f7f\u7528\u7684 Vim \u914d\u7f6e\u538b\u7f29\u5305\uff0c\u76f4\u63a5\u89e3\u538b\u5c31\u53ef\u4ee5\u4f7f\u7528\u3002\u5efa\u8bae\u8fd8\u6ca1\u6709\u5f62\u6210\u81ea\u5df1\u4f7f\u7528\u4e60\u60ef\u7684\u8bfb\u8005\u4f7f\u7528\u6211\u63d0\u4f9b\u7684\u7248\u672c\uff0c\u5148\u7528\u8d77\u6765\uff0c\u5728\u5b9e\u9645\u4f7f\u7528\u4e2d\u6162\u6162\u7406\u89e3\uff0c\u76f8\u4fe1\u8fc7\u4e0d\u4e86\u591a\u4e45\u5c31\u80fd\u4e60\u60ef Vim\uff0c\u518d\u6839\u636e\u81ea\u5df1\u9700\u6c42\u8c03\u6574\u6216\u91cd\u65b0\u914d\u7f6e\u3002<\/span><\/p>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">3.2.1 Vim \u5b89\u88c5\u4e0e\u5feb\u901f\u914d\u7f6e<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-style: normal;font-weight: 400;text-indent: 0px;text-transform: none;text-decoration: none;color: black;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\"><strong>Vim \u5b89\u88c5\u65b9\u6cd5:<\/strong><\/span><\/p>\n<pre>sudo&nbsp;apt-get&nbsp;install&nbsp;vim<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-style: normal;font-weight: 400;text-indent: 0px;text-transform: none;text-decoration: none;color: black;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\"><strong>Vim \u914d\u7f6e:<\/strong><\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u4e0b\u8f7d vim.tar.gz \u89e3\u538b\u540e\uff0c\u5c06 vim-config.tar \u89e3\u538b\u81f3\u7528\u6237\u6839\u76ee\u5f55\uff1a<\/span><\/p>\n<pre>tar&nbsp;-xvf&nbsp;vim-config.tar&nbsp;&nbsp;-C&nbsp;~\/<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5b89\u88c5\u5b8c\u6bd5\uff0c\u5c31\u8fd9\u4e48\u7b80\u5355\uff0c\u6240\u6709\u7684\u63d2\u4ef6\u5df2\u7ecf\u5305\u542b\u5230\u538b\u7f29\u5305\u91cc\u4e86\uff0c\u4e0d\u9700\u8981\u518d\u4e0b\u8f7d\u5176\u5b83\u4e1c\u897f\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u91cd\u65b0\u5f00\u542f\u4e00\u4e2a\u7ec8\u7aef\u7a97\u53e3\u5c31\u53ef\u4ee5\u4f7f\u7528 Vim \u6253\u5f00\u4ee3\u7801\u770b\u770b\u6548\u679c\u4e86\uff1a<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/275\/013\/99a9ebdeb786aecfb0480173ccb061cd-4.png\" class=\"aligncenter\" title=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe4\" alt=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe4\" \/> <\/p>\n<p style=\"max-width:90%\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\"><span style=\"margin: 0px;padding: 0px;max-width: 100%\">\u4e0a\u8ff0\u754c\u9762\u53ef\u4ee5\u770b\u5230\uff0c\u5de6\u4fa7\u754c\u9762\u662f\u6587\u4ef6\u5217\u8868\uff08\u9ed8\u8ba4\u4e0d\u663e\u793a\uff0cF3 \u5f00 \/ \u5173\uff09\uff0c\u53f3\u4fa7<\/span>\u662f<span style=\"margin: 0px;padding: 0px;max-width: 100%\">\u51fd\u6570\u5217\u8868\uff08\u9ed8\u8ba4\u663e\u793a\uff0cF9 \u5f00 \/ \u5173\uff09\uff0c\u53ef\u4ee5\u4f7f\u7528 CTRL + W \u5728\u5404\u4e2a\u533a\u57df\u4e4b\u95f4\u8df3\u8f6c\uff0c\u5728\u4e09\u4e2a\u754c\u9762\u4e0a\u90fd\u53ef\u4ee5\u50cf\u7f16\u8f91\u6587\u4ef6\u4e00\u6837\uff0c\u901a\u8fc7 h\u3001j\u3001k\u3001l \u79fb\u52a8\u5149\u6807\u5b9a\u4f4d\u3002<\/span><\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5728\u51fd\u6570\u5217\u8868\u9879\u4e0a\u6309\u56de\u8f66\u952e\u5373\u53ef\u8df3\u8f6c\u5230\u6307\u5b9a\u51fd\u6570\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5728\u6587\u4ef6\u5217\u8868\u9879\u4e0a\u6309\u56de\u8f66\u952e\uff0c\u6253\u5f00\u76f8\u5e94\u6587\u4ef6\uff1b<strong>\u6309 i \u6216 s\uff0c\u4ee5\u6c34\u5e73\u5206\u5272\u6216\u7eb5\u5411\u5206\u5272\u7a97\u53e3\u6253\u5f00\u6587\u4ef6\uff0c\u8fd9\u4e2a Vim \u7684\u5206\u5272\u7a97\u53e3\u7684\u529f\u80fd\uff0c\u67e5\u770b\u4ee3\u7801\u5f88\u5b9e\u7528<\/strong>\u3002<\/span><\/p>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">3.2.2 \u641c\u7d22\u4e00\u4e2a\u6587\u4ef6<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u4f7f\u7528 F3 \u547c\u51fa\u7684\u6587\u4ef6\u5217\u8868\uff0c\u5728\u540c\u76ee\u5f55\u4e0b\u6253\u5f00\u6587\u4ef6\u8fd8\u662f\u6bd4\u8f83\u65b9\u4fbf\u7684\uff0c\u4f46\u5982\u679c\u9700\u8981\u6253\u5f00\u5176\u5b83\u4f4d\u7f6e\u7684\u6587\u4ef6\u8fd8\u662f\u4e0d\u592a\u65b9\u4fbf\uff0c<strong>\u53ef\u4ee5\u6309 F5 \u547c\u51fa\u6587\u4ef6\u67e5\u627e\u7a97\u53e3<\/strong>\uff0c\u8f93\u5165\u9879\u76ee\u4e2d\u7684\u6587\u4ef6\u540d\uff0c\u5feb\u901f\u5f00\u542f\u6587\u4ef6\u3002<\/span><\/p>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">3.2.3 \u8df3\u8f6c\u5230\u51fd\u6570\u5b9a\u4e49<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u67e5\u770b\u4ee3\u7801\u5fc5\u5907\u7684\u529f\u80fd\u5c31\u662f\u5feb\u901f\u5230\u8fbe\u51fd\u6570\u6216\u53d8\u91cf\u7684\u5b9a\u4e49\u4f4d\u7f6e\u3002\u8981\u5b9e\u73b0\u8fd9\u4e2a\u529f\u80fd\uff0c\u9996\u5148\u9700\u8981\u521b\u5efa\u7d22\u5f15\u3002<\/span><\/p>\n<pre>\u725b\u903c\u554a\uff01\u63a5\u79c1\u6d3b\u5fc5\u5907\u7684&nbsp;N&nbsp;\u4e2a\u5f00\u6e90\u9879\u76ee\uff01\u8d76\u5feb\u6536\u85cf<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\"><\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5728\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u6267\u884c\uff1a<\/span><\/p>\n<pre>ctags&nbsp;-R&nbsp;*\n\/\/\u6216\u8005\u6307\u5b9a\u9700\u8981\u5efa\u7acb\u7d22\u5f15\u7684\u8bed\u8a00\nctags&nbsp;--languages=c,c++,java&nbsp;-R<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u6267\u884c\u65f6\u95f4\u6839\u636e\u9879\u76ee\u4e2d\u6e90\u7801\u6570\u91cf\u800c\u5b9a\uff0c\u6587\u4ef6\u591a\u5219\u521b\u5efa\u7d22\u5f15\u7684\u65f6\u95f4\u4f1a\u4e45\u4e00\u4e9b\u3002\u6267\u884c\u5b8c\u6210\u4e4b\u540e\uff0c\u5728\u9879\u76ee\u8ddf\u76ee\u5f55\u4e0b\u4f1a\u751f\u6210\u4e00\u4e2a tags \u6587\u4ef6\u3002\u8fd9\u6837\u518d\u6b21\u5728\u8be5\u76ee\u5f55\u4e0b\uff0c\u6253\u5f00 Vim \u5c31\u53ef\u4ee5\u4f7f\u7528 CTRL + ] \u5feb\u6377\u952e\uff0c\u8df3\u8f6c\u5230\u51fd\u6570\u6216\u53d8\u91cf\u7684\u5b9a\u4e49\u4f4d\u7f6e\u4e86\uff0c\u4f7f\u7528 CTRL + T \u8fd4\u56de\u539f\u6765\u7684\u4f4d\u7f6e\u3002<\/span><\/p>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">3.2.4 \u5176\u5b83<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u4e0a\u8ff0\u7ed9\u51fa\u7684\u8fd9\u4e9b\u57fa\u672c\u64cd\u4f5c\uff0c\u5df2\u7ecf\u57fa\u672c\u80fd\u591f\u6ee1\u8db3\u65e5\u5e38\u6240\u6709\u7684\u9700\u6c42\u3002\u5982\u679c\u559c\u6b22\u6298\u817e\uff0c\u719f\u6089\u4e4b\u540e\u53ef\u4ee5\u63a2\u7d22\u66f4\u591a\u529f\u80fd\uff0c\u8fd8\u53ef\u4ee5\u52a0\u5feb\u67e5\u627e\u901f\u5ea6\uff0c\u8fd9\u4e9b\u5728 vim.tar.gz \u4e2d\u7684 readme \u4e5f\u6709\u7b80\u5355\u7684\u8bf4\u660e\uff0c\u7b97\u662f\u629b\u7816\u5f15\u7389\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5e0c\u671b\u901a\u8fc7\u4e0a\u8ff0\u4ecb\u7ecd\uff0c\u4f60\u80fd\u4e60\u60ef\u5e76\u559c\u6b22\u4e0a Vim\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u8fd9\u5957\u914d\u7f6e\u9ed8\u8ba4\u5f00\u542f\u4e86\u9f20\u6807\u7684\u652f\u6301\uff0c\u53ef\u4ee5\u901a\u8fc7\u9f20\u6807\u5b9a\u4f4d\u5149\u6807\u7684\u7126\u70b9\uff0c\u4f7f\u7528\u6eda\u8f6e\u7ffb\u9875\u4ee3\u7801\uff0c\u8fd9\u662f\u4e3a\u4e86\u4fbf\u4e8e\u521d\u5b66\u8005\u4e0a\u624b\uff0c\u540e\u7eed\u719f\u6089\u4e86\u4e4b\u540e\u5efa\u8bae\u5173\u95ed\u6b64\u529f\u80fd\uff0c\u56e0\u4e3a\u5f00\u542f\u9f20\u6807\u529f\u80fd\u540e\u4f1a\u635f\u5931\u9f20\u6807\u7684\u53f3\u952e\u83dc\u5355\uff0c\u9f20\u6807\u4e5f\u4e0d\u5982\u952e\u76d8\u64cd\u4f5c\u7684\u6548\u7387\u9ad8\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5173\u95ed Vim \u4e2d\u9f20\u6807\u529f\u80fd\uff1a<\/span><\/p>\n<pre>vim&nbsp;~\/.vimrc\n\/\/\u5728303\u884c\u524d\u52a0\u5f15\u53f7\uff0c\u5c06set&nbsp;mouse=a\u6ce8\u91ca\u6389\u5373\u53ef\n\"&nbsp;set&nbsp;mouse=a<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h3><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">4. \u81ea\u5b9a\u4e49 shell \u547d\u4ee4<\/span><\/h3>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">Linux \u7684\u7cbe\u9ad3\u5c31\u662f\u811a\u672c\uff0c\u53ef\u4ee5\u5bf9\u5e38\u7528\u64cd\u4f5c\u52a0\u5165\u903b\u8f91\u5173\u7cfb\uff0c\u5b8c\u6210\u4e00\u7cfb\u5217\u64cd\u4f5c\uff0c\u89e3\u653e\u6211\u4eec\u7684\u53cc\u624b\uff0c\u8fd9\u4e5f\u662f\u7a0b\u5e8f\u5458\u559c\u6b22\u4f7f\u7528 Linux \u7684\u4e00\u4e2a\u4e3b\u8981\u539f\u56e0\u3002<\/span><\/p>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">4.1 cl \u547d\u4ee4\u7684\u5b9e\u73b0<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5148\u6765\u770b\u770b\u4e0a\u6587\u63d0\u5230\u7684 cl \u547d\u4ee4\uff0c\u5176\u80fd\u591f\u5b9e\u73b0\u5feb\u901f\u8df3\u8f6c\u5230\u5e38\u7528\u7684 Linux \u6e90\u7801\u76ee\u5f55\uff0c\u8fd9\u662f\u5982\u4f55\u5b9e\u73b0\u7684\u5462\uff1f<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5176\u5b9e\u7b80\u5355\u5230\u96be\u4ee5\u7f6e\u4fe1\uff1a\u53ea\u9700\u5728\u5f53\u524d\u7528\u6237\u6839\u76ee\u5f55\u4e0b\u7684 .bashrc \u6587\u4ef6\u4e2d\u589e\u52a0\u547d\u4ee4\u522b\u540d\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u6309\u7167\u5982\u4e0b\u547d\u4ee4\u5c1d\u8bd5\u4e00\u4e0b\u5427\uff0c\u5c06\u5176\u4e2d<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\/home\/radia\/work\/linux\/linux-3.16.6\/<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">&nbsp;\u66ff\u6362\u6210\u81ea\u5df1\u7684\u5e38\u7528\u8def\u5f84\uff1a<\/span><\/p>\n<pre>echo&nbsp;'alias&nbsp;cl=\"cd&nbsp;\/home\/radia\/work\/linux\/linux-3.16.6\/\"'&nbsp;&amp;gt;&amp;gt;&nbsp;~\/.bashrc\nsource&nbsp;~\/.bashrc<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236<br \/>\n<img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/275\/013\/f3da1e6e729c4c30133b067cab48d3a2-5.gif\" class=\"aligncenter\" title=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe5\" alt=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe5\" \/> <\/p>\n<p style=\"max-width:90%\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u4e0a\u56fe\u53ef\u4ee5\u770b\u5230\uff0c\u5728\u6dfb\u52a0\u4e4b\u524d cl \u547d\u4ee4\u4e0d\u53ef\u7528\uff0c\u6dfb\u52a0\u4e4b\u540e\u5c31\u80fd\u591f\u5b9e\u73b0\u529f\u80fd\uff0c\u6210\u529f\u8df3\u8f6c\u5230\u6307\u5b9a\u76ee\u5f55\u4e86\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u6ce8\uff1a\u4e0a\u8ff0\u64cd\u4f5c\u4ec5\u9700\u64cd\u4f5c\u4e00\u6b21\uff0c\u5728\u6dfb\u52a0\u540e\u5f00\u542f\u7684\u6240\u6709\u7ec8\u7aef\u5c31\u90fd\u5305\u542b\u4e86 cl \u547d\u4ee4\u3002<\/span><\/p>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">4.2 \u6765\u5c1d\u8bd5\u4e00\u4e2a\u529f\u80fd\u66f4\u590d\u6742\u7684\u547d\u4ee4<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u903b\u8f91\u66f4\u590d\u6742\u7684\u547d\u4ee4\uff0c\u5c31\u4e0d\u80fd\u50cf\u4e0a\u8ff0 cl \u4e00\u6837\uff0c\u76f4\u63a5\u5199\u5728 ~\/.bashrc \u6587\u4ef6\u4e2d\u4e86\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-style: normal;font-weight: 400;text-indent: 0px;text-transform: none;text-decoration: none;color: black;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\"><strong>\u5047\u8bbe\u5982\u4e0b\u573a\u666f:<\/strong><\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">A \u5de5\u4f5c\u573a\u666f\u65f6\uff0c\u9700\u8981\u5f00\u542f A \u573a\u666f\u6240\u9700\u7684\u8f6f\u4ef6 A1\u3001A2\u3001A3\uff1bB \u573a\u666f\u65f6\uff0c\u53c8\u9700\u8981\u8f6f\u4ef6 B1\u3001B2\u3001B3 \u7684\u652f\u6301\u3002\u90a3\u4e48\u53ef\u4ee5\u65b0\u589e\u4e00\u6761\u547d\u4ee4 env_switch \u5b8c\u6210\u8fd9\u6837\u7684\u5de5\u4f5c\u73af\u5883\u7684\u5207\u6362<\/span><\/p>\n<pre>env_switch&nbsp;A&nbsp;start&nbsp;#\u5f00\u542fA\u5de5\u4f5c\u73af\u5883\u4e0b\u7684\u8f6f\u4ef6A1\uff0cA2\uff0cA3\nenv_switch&nbsp;A&nbsp;stop&nbsp;#\u5173\u95edA\u5de5\u4f5c\u73af\u5883\u4e0b\u7684\u8f6f\u4ef6A1\uff0cA2\uff0cA3\nenv_switch&nbsp;B&nbsp;start&nbsp;#\u5f00\u542fB\u5de5\u4f5c\u73af\u5883\u4e0b\u7684\u8f6f\u4ef6B1\uff0cB2\uff0cB3\nenv_switch&nbsp;B&nbsp;stop&nbsp;#\u5f00\u542fB\u5de5\u4f5c\u73af\u5883\u4e0b\u7684\u8f6f\u4ef6B1\uff0cB2\uff0cB3<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-style: normal;font-weight: 400;text-indent: 0px;text-transform: none;text-decoration: none;color: black;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\"><strong>\u5b9e\u73b0\u5982\u4e0b:<\/strong><\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u5728\u4efb\u610f\u76ee\u5f55\u4e0b\uff0c\u5982&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\/home\/radia\/cmd<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\uff0c\u521b\u5efa\u811a\u672c\u6587\u4ef6&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">env_switch.sh<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u52a0\u5165\u5982\u4e0b\u5185\u5bb9\uff0c\u5176\u4e2d\u5f00\u542f\u3001\u5173\u95ed\u8f6f\u4ef6\u4f7f\u7528 echo \u66ff\u4ee3\u4e86\uff0c\u5b9e\u9645\u4f7f\u7528\u65f6\u66ff\u6362\u4e3a\u8f6f\u4ef6\u7684\u5f00\u542f\u547d\u4ee4\u5373\u53ef\uff1a<\/span><\/p>\n<pre>#!\/bin\/bash\nfunction&nbsp;env_switch()\n{\n&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;[&nbsp;$1&nbsp;=&nbsp;\"A\"&nbsp;];&nbsp;then\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;\"A1,A2,A3&nbsp;\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;[&nbsp;$2&nbsp;=&nbsp;\"start\"&nbsp;];then\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;\"will&nbsp;be&nbsp;opened\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;elif&nbsp;[&nbsp;$2&nbsp;=&nbsp;\"stop\"&nbsp;];&nbsp;then\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;\"will&nbsp;be&nbsp;closed\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi\n&nbsp;&nbsp;&nbsp;&nbsp;elif&nbsp;[&nbsp;$1&nbsp;=&nbsp;\"B\"&nbsp;];then\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;\"B1,B2,B3\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;[&nbsp;$2&nbsp;=&nbsp;\"start\"&nbsp;];then\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;\"will&nbsp;be&nbsp;opened\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;elif&nbsp;[&nbsp;$2&nbsp;=&nbsp;\"stop\"&nbsp;];&nbsp;then\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;\"will&nbsp;be&nbsp;closed\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi\n&nbsp;&nbsp;&nbsp;&nbsp;fi\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u589e\u52a0\u6267\u884c\u6743\u9650\uff1a<\/span><\/p>\n<pre>chmod&nbsp;+x&nbsp;env_switch.sh<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u653e\u5230&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">~\/.bashrc<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">&nbsp;\u6587\u4ef6\u4e2d\uff0c\u8fd9\u662f\u4e3a\u4e86\u5728\u5f00\u542f\u6bcf\u4e2a\u7ec8\u7aef\u65f6\uff0c\u90fd\u81ea\u52a8\u8f7d\u5165\u6211\u4eec\u81ea\u5b9a\u4e49\u7684\u547d\u4ee4\uff1a<\/span><\/p>\n<pre>echo&nbsp;'source&nbsp;\/home\/radia\/cmd\/env_switch.sh'&nbsp;&amp;gt;&amp;gt;&nbsp;~\/.bashrc\nsource&nbsp;~\/.bashrc<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236<br \/>\n<img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/275\/013\/e72fa6bb92d2ba4fed25cc906a64a03d-6.png\" class=\"aligncenter\" title=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe6\" alt=\"4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u63d2\u56fe6\" \/> <\/p>\n<p style=\"max-width:90%\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u53ef\u4ee5\u770b\u5230\u4e0a\u8ff0\u811a\u672c&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">env_switch.sh<\/span><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">&nbsp;\u4e2d\u53ea\u6709\u4e00\u4e2a\u51fd\u6570\uff0c\u800c\u4e14\u5e76\u672a\u88ab\u8c03\u7528\u3002\u8fd9\u5c31\u662f\u672c\u5c0f\u8282\u4e2d\u7684\u5173\u952e\u6280\u5de7\u6240\u5728\uff0c\u5229\u7528 source \u547d\u4ee4\u5c06\u811a\u672c\u4e2d\u7684\u51fd\u6570\u5bfc\u5165\u5f53\u524d shell\uff0c\u8fd9\u6837\u811a\u672c\u4e2d\u7684\u51fd\u6570\u5c31\u53ef\u4ee5\u548c\u5176\u4ed6\u7684 shell \u547d\u4ee4\u4e00\u6837\u4f7f\u7528\u4e86\uff0c\u5982\u6709\u5176\u4ed6\u9700\u6c42\uff0c\u53ef\u4ee5\u5728 env_switch.sh \u6587\u4ef6\u4e2d\u589e\u52a0\u51fd\u6570\u5373\u53ef\uff0c\u589e\u52a0\u4e00\u4e2a\u51fd\u6570\uff0c\u5c31\u4f1a\u65b0\u589e\u4e00\u6761\u547d\u4ee4\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u90a3\u4e9b\u4f60\u6bcf\u5929\u90fd\u5728\u505a\u7684\u4e00\u7cfb\u5217\u64cd\u4f5c\uff0c\u5f52\u7eb3\u540e\u5f62\u6210\u4e00\u4e2a\u5e38\u7528\u547d\u4ee4\uff0c\u662f\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/span><\/p>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;clear: both;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u53e6\u5916\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u4e00\u4e9b\u6d4b\u8bd5\u573a\u666f\uff0c\u5982\u679c\u9700\u8981\u591a\u4e2a\u6b65\u9aa4\u7684\u64cd\u4f5c\uff0c\u800c\u4e14\u5728\u4e00\u6bb5\u65f6\u95f4\u5185\u4f1a\u9891\u7e41\u4f7f\u7528\uff0c\u5219\u5efa\u8bae\u7f16\u5199\u6210\u811a\u672c\u5373\u53ef\uff0c\u65e0\u9700\u589e\u52a0\u4e3a\u547d\u4ee4\u3002<\/span><\/p>\n<h4><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">4.3 \u518d\u8c08\u8c08 bd \u547d\u4ee4<\/span><\/h4>\n<p style=\"margin: 0px 0px 16px;padding: 8px 0px;max-width: 100%;min-height: 1em;font-family: system-ui, -apple-system, BlinkMacSystemFont,\"><span style=\"margin: 0px;padding: 0px;max-width: 100%;letter-spacing: 1px\">\u7ec6\u5fc3\u7684\u540c\u5b66\u53ef\u80fd\u5df2\u7ecf\u53d1\u73b0\u4e86\uff0c\u5176\u5b9e\u6211\u4eec\u4e4b\u524d\u4f7f\u7528\u7684 bd \u547d\u4ee4\u4e5f\u53ea\u662f\u4e00\u4e2a\u624d 50 \u591a\u884c\u7684\u5c0f\u811a\u672c\uff0c\u6211\u4eec\u5e73\u65f6\u5728\u4f7f\u7528\u4e2d\u4e5f\u53ef\u4ee5\u82b1\u65f6\u95f4\u5199\u4e00\u4e9b\u81ea\u5df1\u7684\u5c0f\u811a\u672c\uff0c\u8fd9\u6837\u4e0d\u65ad\u79ef\u7d2f\u4e0b\u6765\uff0c\u5de5\u4f5c\u6548\u7387\u624d\u4f1a\u4e0d\u65ad\u63d0\u5347\uff0c\u6240\u8c13\u78e8\u5200\u4e0d\u8bef\u780d\u67f4\u5de5\u561b\u3002<\/span><\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f4 \u4e2a Linux \u6280\u5de7\uff0c\u4f60\u503c\u5f97\u62e5\u6709\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8FDCServers\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u5df2\u7ecf\u9010\u6e10\u6210\u4e3a\u4e86\u6700\u53d7\u5f00\u53d1\u8005\u6b22\u8fce\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u56db\u4e2a\u6781\u4e3a\u5b9e\u7528\u7684\u6280\u5de7\uff0c\u76f8\u4fe1\u8fd9\u5c06\u80fd\u591f\u63d0\u9ad8\u60a8\u5728 Linux \u4e0b\u7684\u5de5\u4f5c\u6548\u7387\u548c\u6d41\u7545\u6027\uff0c\u4e5f\u8ba9\u5de5\u4f5c\u53d8\u5f97\u66f4\u4e3a\u8212\u9002\u3001\u4f18\u96c5\u3002 1. \u8df3\u8f6c\u76ee\u5f55\u4f18\u96c5\u987a\u6ed1 1.1 bd \u547d\u4ee4 \u5feb\u901f\u56de\u5230 Bash \u4e2d\u7684\u7279\u5b9a\u7236\u76ee\u5f55\uff0c\u800c\u4e0d\u662f\u591a\u4f59\u5730\u952e\u5165&nbsp;cd ..\/..\/..\u3002 \u5982\u679c\u60a8\u5728\u6b64\u8def\u5f84\u4e2d\/home\/radia\/work\/python\/tkinter\/one\/two\u5e76\u4e14\u60f3\u5feb\u901f\u8f6c\u5230\u76ee\u5f55 python\uff0c\u53ea\u9700\u952e\u5165: bd&nbsp;python \u767b\u5f55\u540e\u590d\u5236 \u6216\u8005\u4ec5\u8f93\u5165\u76ee\u5f55\u7684\u524d\u51e0\u4e2a\u5b57\u6bcd\uff0c\u5982\u5339\u914d\u591a\u4e2a\u76ee\u5f55\uff0c\u5219\u56de\u5230\u6700\u8fd1\u7684\u4e00\u4e2a\uff1a bd&nbsp;p \u767b\u5f55\u540e\u590d\u5236 \u793a\u4f8b: bd \u547d\u4ee4\u5b89\u88c5: sudo&nbsp;wget&nbsp;&#8211;no-check-certificate&nbsp;-O&nbsp;\/usr\/bin\/bd&nbsp;https:\/\/raw.githubusercontent.com\/vigneshwaranr\/bd\/master\/bd sudo&nbsp;chmod&nbsp;+rx&nbsp;\/usr\/bin\/bd echo&nbsp;&#8216;alias&nbsp;bd=&#8221;.&nbsp;bd&nbsp;-si&#8221;&#8216;&nbsp;&amp;gt;&amp;gt;&nbsp;~\/.bashrc source&nbsp;~\/.bashrc \u767b\u5f55\u540e\u590d\u5236 \u8981\u542f\u7528\u533a\u5206\u5927\u5c0f\u5199\u7684\u76ee\u5f55\u540d\u79f0\u5339\u914d\uff0c\u8bf7\u5728\u522b\u540d\u4e2d\u4f7f\u7528 -s \u4ee3\u66ff -si\uff1a \u5982\u5e0c\u671b\u4e86\u89e3\u66f4\u591a\u53ef\u4ee5\u8bbf\u95ee\u5f00\u53d1\u8005 GitHub:https:\/\/github.com\/vigneshwaranr\/bd 1.2 cd \u547d\u4ee4\u7684\u4e00\u4e9b\u5e38\u7528\u6280\u5de7 cd \u540e\u9762\u4e0d\u8ddf\u4efb\u4f55\u53c2\u6570\uff0c\u56de\u7528\u6237\u4e3b\u76ee\u5f55\uff0c\u7b49\u540c\uff1acd ~\u3002 cd cd&nbsp;~ \u767b\u5f55\u540e\u590d\u5236 cd &#8211; \u56de\u9000\uff0c\u8fd4\u56de\u4e4b\u524d\u76ee\u5f55\uff1a cd&nbsp;&#8211; \u767b\u5f55\u540e\u590d\u5236 1.3 \u81ea\u5b9a\u4e49\u547d\u4ee4\uff0c\u8df3\u8f6c\u5230\u5e38\u7528\u76ee\u5f55 \u5bf9\u4e8e\u7ecf\u5e38\u4f7f\u7528\u7684\u76ee\u5f55\uff0c\u53ef\u4ee5\u589e\u52a0\u4e00\u6761\u81ea\u5b9a\u4e49\u547d\u4ee4\uff0c\u5b9e\u73b0\u4e00\u952e\u76f4\u8fbe\u3002\u8fd9\u70b9\u5728\u4e0b\u6587\u8be6\u89e3\uff0c\u5148\u770b\u4e2a\u6548\u679c\u3002 \u5982\u679c\u60a8\u5728\u6b64\u8def\u5f84\u4e2d\/home\/radia\/work\/python\/tkinter\/one\/two\uff0c\u5e76\u4e14\u60f3\u5feb\u901f\u8f6c\u5230\u76ee\u5f55&nbsp;\/home\/radia\/work\/\/linux-3.16.6\uff0c\u7136\u540e\u53ea\u9700\u952e\u5165\uff1a cl \u767b\u5f55\u540e\u590d\u5236 \u793a\u4f8b: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-62080","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/62080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=62080"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/62080\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=62080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=62080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=62080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}