{"id":48,"date":"2019-02-02T19:00:56","date_gmt":"2019-02-02T11:00:56","guid":{"rendered":""},"modified":"2020-10-08T13:38:03","modified_gmt":"2020-10-08T05:38:03","slug":"%e5%88%86%e4%ba%ab%ef%bc%9a%e3%80%8alinux%e5%b0%b1%e8%af%a5%e8%bf%99%e4%b9%88%e5%ad%a6-%e3%80%8b%e7%ac%ac3%e7%ab%a0-%e7%ae%a1%e9%81%93%e7%ac%a6%e3%80%81%e9%87%8d%e5%ae%9a%e5%90%91%e4%b8%8e%e7%8e%af","status":"publish","type":"post","link":"https:\/\/www.fatesky.com\/?p=48","title":{"rendered":"\u5206\u4eab\uff1a\u300aLinux\u5c31\u8be5\u8fd9\u4e48\u5b66 \u300b\u7b2c3\u7ae0 \u7ba1\u9053\u7b26\u3001\u91cd\u5b9a\u5411\u4e0e\u73af\u5883\u53d8\u91cf"},"content":{"rendered":"<h2 style=\"white-space: normal; margin: 8px 0px; padding: 2px 0px; font-size: 1.3em; border-left-width: 4px; border-left-style: solid; border-left-color: rgb(252, 46, 46); text-indent: 16px; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; line-height: 25px; background-color: rgb(255, 255, 255);\">\u63a8\u8350\u7b80\u8ff0\uff1a<\/h2>\n<p style=\"margin-top: 0px; margin-bottom: 10px; white-space: normal; box-sizing: border-box; line-height: 23px; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; text-indent: 2em; background-color: rgb(255, 255, 255);\"><span style=\"text-indent: 1em;\">\u8bf4\u5230Linux\u7cfb\u7edf\u4ece01\u5e74\u5f00\u59cb\u6211\u5c31\u4e00\u76f4\u5728\u63a5\u89e6\uff0c\u76f4\u523003\u5e74\u8fd8\u662f04\u5e74\u7684\u65f6\u5019\u5728\u60e0\u5dde\u65b0\u534e\u4e66\u5e97\u4e70\u4e86\u4e00\u672c\u300a<\/span><span style=\"font-size: 13.3333px; text-indent: 13.3333px;\">\u9e1f\u54e5\u7684\u79c1\u623f\u83dc<\/span><span style=\"text-indent: 1em;\">\u300b\uff0c\u81ea\u6b64\u6211\u7684LINUX\u8d77\u6b65\u624d\u7b97\u662f\u771f\u6b63\u7684\u5f00\u59cb\uff0c\u4eca\u5929\u5ffd\u7136\u5728\u7f51\u4e0a\u53d1\u73b0\u4e86\u4e00\u672c\u300aLinux\u5c31\u8be5\u8fd9\u4e48\u5b66\u300b<\/span><span style=\"font-size: 13.3333px; text-indent: 13.3333px;\">\u5fcd\u4e0d\u4f4f\u770b\u4e86\u4e8c\u7ae0\uff0c<\/span><span style=\"text-indent: 1em;\">\u89c9\u5f97\u8fd9\u672c\u4e66\u5728\u73b0\u65f6\u7684Linux\u73af\u5883\u4e0b\u66f4\u9002\u5408\u65b0\u624b\u5165\u95e8\uff0c\u4e0d\u7531\u5f3a\u70c8\u63a8\u8350\u4e00\u4e0b\uff0c\u5e76\u4e14\u81ea\u5df1\u4e5f\u51b3\u5b9a\u4e09\u6708\u4efd\u91cc\u6bcf\u5929\u5fc5\u770b\u4e00\u7ae0\u8282\uff0c\u5728\u770b\u7684\u540c\u65f6\u4e5f\u8f6c\u8f7d\u5728\u535a\u5ba2\u91cc\u3002<\/span><span style=\"text-indent: 1em; color: #FF0000;\">\u6e29\u6545\u77e5\u65b0\uff0c\u5b66\u4e60\u8fd9\u4e2a\u4e8b\u60c5\u6c38\u8fdc\u5e94\u8be5\u5728\u8def\u4e0a\uff01<\/span><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; white-space: normal; box-sizing: border-box; line-height: 23px; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; text-indent: 2em; background-color: rgb(255, 255, 255);\"><span style=\"text-indent: 1em; color: #FF0000;\"><br \/><\/span><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; white-space: normal; box-sizing: border-box; line-height: 23px; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; text-indent: 2em; background-color: rgb(255, 255, 255);\"><span style=\"text-indent: 1em; color: #FF0000;\"><br \/><\/span><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; white-space: normal; box-sizing: border-box; line-height: 23px; text-indent: 1em; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255);\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/ss2.bdstatic.com\/70cFvnSh_Q1YnxGkpoWK1HF6hhy\/it\/u=246279818,2032250538&#038;fm=26&#038;gp=0.jpg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/ss2.bdstatic.com\/70cFvnSh_Q1YnxGkpoWK1HF6hhy\/it\/u=246279818,2032250538&#038;fm=26&#038;gp=0.jpg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\"\/><\/div><\/p>\n<h2 style=\"white-space: normal; margin: 8px 0px; padding: 2px 0px; font-size: 1.3em; border-left-width: 4px; border-left-style: solid; border-left-color: rgb(252, 46, 46); text-indent: 16px; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; line-height: 25px; background-color: rgb(255, 255, 255);\">\u672c\u4e66\u76f8\u6bd4\u300a\u9e1f\u54e5\u7684linux\u79c1\u623f\u83dc\u300b\u6709\u4ec0\u4e48\u4f18\u52bf\uff1f<\/h2>\n<p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; padding: 5px 0px 14px; text-indent: 2em; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; font-size: 15px; line-height: 25px; background-color: rgb(255, 255, 255);\">\u5766\u767d\u6765\u8bb2\uff0c\u9e1f\u54e5\u7684linux\u79c1\u623f\u83dc\u4e5f\u662f\u6211\u7684linux\u5165\u95e8\u4e66\u7c4d\uff0c\u6211\u7edd\u5bf9\u7684\u8ba4\u53ef\u9e1f\u54e5\u4e3a\u8fd9\u672c\u4e66\u7684\u4ed8\u51fa\uff0c\u5176\u4e66\u53d1\u884c\u91cf\u5de8\u5927\uff0c\u966a\u4f34\u4e86\u4e00\u4ee3\u7684\u8fd0\u7ef4\u4eba\u5458\uff0c\u751a\u81f3\u88ab\u5c01\u4e3a\u201clinux\u5165\u95e8\u795e\u4e66\u201d\uff0c\u6e10\u6e10\u7684\u4ece\u4e00\u672clinux\u6280\u672f\u4e66\u7c4d\uff0c\u4e0a\u5347\u81f3\u7cbe\u795e\u7684\u9ad8\u5ea6\uff0c\u4e0d\u5141\u8bb8\u518d\u6709\u4e00\u70b9\u53cd\u9a73\u4e4b\u58f0\uff0c\u4f46\u601d\u7d22\u518d\u4e09\uff0c\u8fd8\u662f\u51b3\u5b9a\u9610\u660e\u6211\u7684\u89c2\u70b9\uff0c\u4e0e\u521d\u5b66\u8005\u5206\u4eab\u4e0b\u8fd9\u4e0d\u540c\u7684\u770b\u6cd5\uff1a<br style=\"margin: 0px; padding: 0px;\"\/>\u9996\u5148\u9e1f\u54e5\u5728\u5f00\u7bc7\u5373\u63d0\u5230\u4e86\u5199\u4e66\u7684\u7f18\u7531\u662f\u56e0\u4e3a\u8bb0\u6027\u4e0d\u597d\uff0c\u6240\u4ee5\u60f3\u5199\u51fa\u4e00\u672c\u80fd\u591f\u653e\u5728\u6848\u5934\u7684\u5907\u5fd8\u5f55\uff0c\u5bf9\u4e66\u7c4d\u7684\u5185\u5bb9\u81ea\u7136\u5c31\u6ca1\u6709\u4e86\u592a\u591a\u7684\u7b5b\u9009\uff0c\u53cd\u800c\u4e00\u518d\u7684\u6269\u5927\u77e5\u8bc6\u8303\u56f4\uff0c\u6700\u7ec8\u5199\u51fa\u7684\u4e24\u672c\u4e66\u539a\u5ea6\u8db3\u8db3\u8d85\u8fc7\u5341\u5398\u7c73\uff0c\u6562\u95ee\u8fd9\u79cd\u201c\u5907\u5fd8\u5f55\u5f0f\u7684\u5165\u95e8\u4e66\u7c4d\u201d\u771f\u7684\u9002\u5408\u65b0\u624b\u6765\u8bfb\uff1f\u6211\u8ba4\u4e3a\u4e66\u7c4d\u65e2\u7136\u53d1\u884c\u4e86\uff0c\u5c31\u4e0d\u80fd\u518d\u662f\u4e2a\u5907\u5fd8\u5f55\uff0c\u800c\u5e94\u8be5\u662f\u901a\u8fc7\u4f5c\u8005\u7684\u7ecf\u9a8c\u5c06\u77e5\u8bc6\u4e0d\u65ad\u63d0\u70bc\uff0c\u771f\u6b63\u8ba9\u6367\u8d77\u4e66\u7684\u8bfb\u8005\u770b\u5b8c\u6709\u6536\u83b7\u624d\u53ef\u4ee5\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; padding: 5px 0px 14px; text-indent: 2em; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; font-size: 15px; line-height: 25px; background-color: rgb(255, 255, 255);\">\u5176\u6b21\u662f\u9e1f\u54e5\u7684linux\u79c1\u623f\u83dc\u7684\u4e66\u7c4d\u66f4\u65b0\u5468\u671f\u8fc7\u957f\uff0c2014\u5e74\u672b\u65f6RHEL7\u4e0eCentos7\u5c31\u5df2\u7ecf\u516c\u5e03\uff0c\u7ecf\u8fc7\u4e86\u4e00\u5e74\u591a\u7684\u8fed\u4ee3\uff0c\u5df2\u7ecf\u5f88\u7a33\u5b9a\u5e76\u88ab\u5e7f\u6cdb\u4f7f\u7528\u4e86\uff0c\u5982\u679c\u5185\u5bb9\u6ca1\u6709\u5b9a\u671f\u66f4\u65b0\uff0c\u4f7f\u5f97\u6280\u672f\u8131\u79bb\u4e86\u751f\u4ea7\u73af\u5883\uff0c\u8fd8\u600e\u4e48\u79f0\u4f5c\u662f\u771f\u6b63\u5b9e\u7528\u7684linux\u6280\u672f\uff1f\u800c\u4e14\u9e1f\u54e5\u7684linux\u79c1\u623f\u83dc\u7f3a\u5c11\u4e86\u5bf9\u65b0\u624b\u975e\u5e38\u91cd\u8981\u7684\u7b54\u7591\u4e0e\u5e2e\u52a9\uff0c\u5982\u679c\u9047\u5230\u4e86\u5b9e\u9a8c\u51fa\u9519\uff0c\u6216\u8005\u6709\u77e5\u8bc6\u70b9\u609f\u4e0d\u900f\uff0c\u8fd9\u4e9b\u90fd\u53ef\u80fd\u8ba9\u521d\u5b66\u8005\u4e27\u5931\u6389\u5bf9linux\u6280\u672f\u7684\u5174\u8da3\u3002<\/p>\n<h2 style=\"white-space: normal; margin: 8px 0px; padding: 2px 0px; font-size: 1.3em; border-left-width: 4px; border-left-style: solid; border-left-color: rgb(252, 46, 46); text-indent: 16px; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; line-height: 25px; background-color: rgb(255, 255, 255);\">RHEL\u4e0eCentos\u7cfb\u7edf\u533a\u522b\uff1a<\/h2>\n<p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; padding: 5px 0px 14px; text-indent: 2em; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; font-size: 15px; line-height: 25px; background-color: rgb(255, 255, 255);\">\u73b0\u5728\u56fd\u5185\u7684\u5f88\u591a\u4e66\u7c4d\u662f\u4ee5Centos\u7cfb\u7edf\u4e3a\u5e73\u53f0\u7f16\u5199\u7684\uff0c\u5f53\u7136\u4f5c\u8005\u5927\u591a\u4f1a\u5217\u51fa\u6765\u8bf8\u591a\u7684\u7406\u7531\uff0c\u4f46\u5f88\u591a\u90fd\u662f\u4ee5\u8bb9\u4f20\u8bb9\u7684\u6b6a\u66f2\u9053\u7406\uff0c\u6839\u672c\u6ca1\u6709\u5256\u6790\u5230RedHat\u516c\u53f8\u7684\u8fd0\u4f5c\u65b9\u6cd5\u548cCentos\u7cfb\u7edf\u7684\u672c\u8d28\uff0cCentos\u7cfb\u7edf\u662f\u901a\u8fc7\u5c06RHEL\u7cfb\u7edf\u91ca\u653e\u51fa\u7684\u6e90\u4ee3\u7801\u4e8c\u6b21\u7f16\u8bd1\u7684Linux\u7cfb\u7edf\u4e4b\u4e00\uff0c\u547d\u4ee4\u64cd\u4f5c\u548c\u670d\u52a1\u914d\u7f6e\u65b9\u6cd5\u81ea\u7136\u90fd\u662f\u5b8c\u5168\u76f8\u540c\uff0c\u53bb\u6389\u4e86\u5f88\u591a\u7ea2\u5e3d\u6536\u8d39\u7684\u670d\u52a1\u5957\u4ef6\u529f\u80fd\uff0c\u5e76\u4e14\u4e0d\u63d0\u4f9b\u4efb\u4f55\u5f62\u5f0f\u7684\u6280\u672f\u652f\u6301\uff0c\u90a3\u4e48\u9009\u62e9\u7684\u7406\u7531\u53ea\u6709\u4e00\u4e2a\u2014\u2014\u514d\u8d39\uff01\uff0c\u5f53\u201c\u9ad8\u624b\u4eec\u201d\u5927\u4e3e\u514d\u8d39\u3001\u5f00\u6e90\u3001\u6b63\u4e49\u7684\u65d7\u5e1c\u6765\u5ba3\u626cCentos\u7cfb\u7edf\u7684\u65f6\u5019\uff0c\u8bf8\u4e0d\u77e5Centos\u7cfb\u7edf\u5176\u5b9e\u65e9\u57282014\u5e74\u521d\u5c31\u5df2\u7ecf\u88ab\u7ea2\u5e3d\u516c\u53f8\u6536\u8d2d\uff0c\u53ea\u662f\u6218\u7565\u6027\u7684\u514d\u8d39\u800c\u5df2\uff0c\u800c\u6839\u636eGnu GPL\u8bb8\u53ef\u534f\u8bae\uff0c\u6211\u4eec\u540c\u6837\u4e5f\u53ef\u4ee5\u514d\u8d39\u4f7f\u7528RHEL\u7cfb\u7edf\uff0c\u751a\u81f3\u662f\u4fee\u6539\u4ee3\u7801\u540e\u521b\u5efa\u51fa\u884d\u751f\u4ea7\u54c1\uff0c\u81ea\u7531\u7a0b\u5ea6\u662f\u6ca1\u6709\u4efb\u4f55\u7684\u5dee\u5f02\uff0c\u66f4\u65e0\u5173\u9053\u5fb7\u95ee\u9898\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; padding: 5px 0px 14px; text-indent: 2em; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; font-size: 15px; line-height: 25px; background-color: rgb(255, 255, 255);\">\u60a8\u6b63\u5728\u9605\u8bfb\u7684\u8fd9\u672c\u300aLinux\u5c31\u8be5\u8fd9\u4e48\u5b66\u300b\u4fbf\u662f\u57fa\u4e8e\u6700\u65b0\u7684RHEL7\u7cfb\u7edf\u7f16\u5199\u7684\uff0c\u77e5\u8bc6\u53ca\u5b9e\u9a8c\u5b8c\u5168\u7684\u76f8\u901a\u4e8eCentos,fedora\u7b49\u7cfb\u7edf\uff0c\u56e0\u6b64\u5f53\u60a8\u5b66\u4e60\u5b8c\u672c\u5957\u8bfe\u7a0b\u540e\uff0c\u5373\u4fbf\u516c\u53f8\u5185\u7684\u751f\u4ea7\u73af\u5883\u662fCentos\u7cfb\u7edf\u4e5f\u4e00\u6837\u6ca1\u6709\u4efb\u4f55\u95ee\u9898\uff0c\u5e76\u4e14\u672c\u4e66\u914d\u5957\u8d44\u6599\u4e2d\u7684iso\u955c\u50cf\u4e0e\u7ea2\u5e3dRHCSA\u53caRHCE\u8003\u8bd5\u7cfb\u7edf\u4e00\u81f4\uff0c\u5c24\u5176\u9002\u5408\u51c6\u5907\u8003\u53d6\u7ea2\u5e3d\u8ba4\u8bc1\u7684\u5b66\u5458\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; text-indent: 0em; white-space: normal; box-sizing: border-box; line-height: 23px; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255);\"><span style=\"font-size: 18px; font-family: \u5fae\u8f6f\u96c5\u9ed1, &quot;Microsoft YaHei&quot;;\"><\/span><\/p>\n<h2 style=\"white-space: normal; margin: 8px 0px; padding: 2px 0px; font-size: 1.3em; border-left-width: 4px; border-left-style: solid; border-left-color: rgb(252, 46, 46); text-indent: 16px; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; line-height: 25px; background-color: rgb(255, 255, 255);\"><strong style=\"color: rgb(61, 68, 80); font-family: \u5fae\u8f6f\u96c5\u9ed1, &quot;Microsoft YaHei&quot;; font-size: 18px; line-height: 23px;\">\u6b63\u6587\u5f00\u59cb\uff1a<\/strong><\/h2>\n<p><strong style=\"color: rgb(61, 68, 80); font-family: \u5fae\u8f6f\u96c5\u9ed1, &quot;Microsoft YaHei&quot;; font-size: 18px; line-height: 23px;\"><br \/><\/strong><\/p>\n<p style=\"white-space: normal;\">\u7b2c3\u7ae0 \u7ba1\u9053\u7b26\u3001\u91cd\u5b9a\u5411\u4e0e\u73af\u5883\u53d8\u91cf<\/p>\n<p style=\"white-space: normal;\"><span style=\"color: #00B050;\"><\/span><\/p>\n<p><span style=\"color: #92D050;\">3.1 \u8f93\u5165\u8f93\u51fa\u91cd\u5b9a\u5411<\/span><\/p>\n<p><span style=\"color: #92D050;\">3.2 \u7ba1\u9053\u547d\u4ee4\u7b26<\/span><\/p>\n<p><span style=\"color: #92D050;\">3.3 \u547d\u4ee4\u884c\u7684\u901a\u914d\u7b26<\/span><\/p>\n<p><span style=\"color: #92D050;\">3.4 \u5e38\u7528\u7684\u8f6c\u4e49\u5b57\u7b26<\/span><\/p>\n<p><span style=\"color: #92D050;\">3.5 \u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf<\/span><\/p>\n<p><span style=\"color: #92D050;\"><br \/><\/span><\/p>\n<p><span style=\"color: #92D050;\"><\/span><\/p>\n<div style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<h5 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 100; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 14px;\"><span id=\"31\" style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\"><strong style=\"box-sizing: border-box;\">3.1&nbsp;\u8f93\u5165\u8f93\u51fa\u91cd\u5b9a\u5411<\/strong><\/span><\/span><\/h5>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u65e2\u7136\u6211\u4eec\u5df2\u7ecf\u5728\u4e0a\u4e00\u7ae0\u5b66\u5b8c\u4e86\u51e0\u4e4e\u6240\u6709\u57fa\u7840\u4e14\u5e38\u7528\u7684Linux\u547d\u4ee4\uff0c\u90a3\u4e48\u63a5\u4e0b\u6765\u7684\u4efb\u52a1\u5c31\u662f\u628a\u591a\u4e2aLinux\u547d\u4ee4\u9002\u5f53\u5730\u7ec4\u5408\u5230\u4e00\u8d77\uff0c\u4f7f\u5176\u534f\u540c\u5de5\u4f5c\uff0c\u4ee5\u4fbf\u6211\u4eec\u66f4\u52a0\u9ad8\u6548\u5730\u5904\u7406\u6570\u636e\u3002\u8981\u505a\u5230\u8fd9\u4e00\u70b9\uff0c\u5c31\u5fc5\u987b\u641e\u660e\u767d\u547d\u4ee4\u7684\u8f93\u5165\u91cd\u5b9a\u5411\u548c\u8f93\u51fa\u91cd\u5b9a\u5411\u7684\u539f\u7406\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u7b80\u800c\u8a00\u4e4b\uff0c\u8f93\u5165\u91cd\u5b9a\u5411\u662f\u6307\u628a\u6587\u4ef6\u5bfc\u5165\u5230\u547d\u4ee4\u4e2d\uff0c\u800c\u8f93\u51fa\u91cd\u5b9a\u5411\u5219\u662f\u6307\u628a\u539f\u672c\u8981\u8f93\u51fa\u5230\u5c4f\u5e55\u7684\u6570\u636e\u4fe1\u606f\u5199\u5165\u5230\u6307\u5b9a\u6587\u4ef6\u4e2d\u3002\u5728\u65e5\u5e38\u7684\u5b66\u4e60\u548c\u5de5\u4f5c\u4e2d\uff0c\u76f8\u8f83\u4e8e\u8f93\u5165\u91cd\u5b9a\u5411\uff0c\u6211\u4eec\u4f7f\u7528\u8f93\u51fa\u91cd\u5b9a\u5411\u7684\u9891\u7387\u66f4\u9ad8\uff0c\u6240\u4ee5\u53c8\u5c06\u8f93\u51fa\u91cd\u5b9a\u5411\u5206\u4e3a\u4e86\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411\u548c\u9519\u8bef\u8f93\u51fa\u91cd\u5b9a\u5411\u4e24\u79cd\u4e0d\u540c\u7684\u6280\u672f\uff0c\u4ee5\u53ca\u6e05\u7a7a\u5199\u5165\u4e0e\u8ffd\u52a0\u5199\u5165\u4e24\u79cd\u6a21\u5f0f\u3002\u542c\u8d77\u6765\u5c31\u5f88\u7384\u5999\uff1f<a href=\"https:\/\/www.linuxprobe.com\/\" title=\"\u5218\u9044\" target=\"_blank\" style=\"box-sizing: border-box; color: rgb(210, 50, 45); text-decoration: none;\" rel=\"noopener noreferrer\">\u5218\u9044<\/a>\u8001\u5e08\u63a5\u4e0b\u6765\u5c06\u6162\u6162\u9053\u6765\u3002<\/p>\n<blockquote style=\"box-sizing: border-box; padding: 10px 20px; margin: 0px 0px 20px; border-left-width: 5px; border-left-style: solid; border-color: rgba(0, 0, 0, 0.14902);\">\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u6807\u51c6\u8f93\u5165\u91cd\u5b9a\u5411\uff08STDIN\uff0c\u6587\u4ef6\u63cf\u8ff0\u7b26\u4e3a0\uff09\uff1a\u9ed8\u8ba4\u4ece\u952e\u76d8\u8f93\u5165\uff0c\u4e5f\u53ef\u4ece\u5176\u4ed6\u6587\u4ef6\u6216\u547d\u4ee4\u4e2d\u8f93\u5165\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411\uff08STDOUT\uff0c\u6587\u4ef6\u63cf\u8ff0\u7b26\u4e3a1\uff09\uff1a\u9ed8\u8ba4\u8f93\u51fa\u5230\u5c4f\u5e55\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u9519\u8bef\u8f93\u51fa\u91cd\u5b9a\u5411\uff08STDERR\uff0c\u6587\u4ef6\u63cf\u8ff0\u7b26\u4e3a2\uff09\uff1a\u9ed8\u8ba4\u8f93\u51fa\u5230\u5c4f\u5e55\u3002<\/p>\n<\/blockquote>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u6bd4\u5982\u6211\u4eec\u5206\u522b\u67e5\u770b\u4e24\u4e2a\u6587\u4ef6\u7684\u5c5e\u6027\u4fe1\u606f\uff0c\u5176\u4e2d\u7b2c\u4e8c\u4e2a\u6587\u4ef6\u662f\u4e0d\u5b58\u5728\u7684\uff0c\u867d\u7136\u9488\u5bf9\u8fd9\u4e24\u4e2a\u6587\u4ef6\u7684\u64cd\u4f5c\u90fd\u5206\u522b\u4f1a\u5728\u5c4f\u5e55\u4e0a\u8f93\u51fa\u4e00\u4e9b\u6570\u636e\u4fe1\u606f\uff0c\u4f46\u8fd9\u4e24\u4e2a\u64cd\u4f5c\u7684\u5dee\u5f02\u5176\u5b9e\u5f88\u5927\uff1a<\/p>\n<\/div>\n<div style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;touch&nbsp;linuxprobe\r\n[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;linuxprobe&nbsp;\r\n-rw-r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;0&nbsp;Aug&nbsp;5&nbsp;05:35&nbsp;linuxprobe\r\n[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;xxxxxx\r\nls:&nbsp;cannot&nbsp;access&nbsp;xxxxxx:&nbsp;No&nbsp;such&nbsp;file&nbsp;or&nbsp;directory<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5728\u4e0a\u8ff0\u547d\u4ee4\u4e2d\uff0c\u540d\u4e3alinuxprobe\u7684\u6587\u4ef6\u662f\u5b58\u5728\u7684\uff0c\u8f93\u51fa\u4fe1\u606f\u662f\u8be5\u6587\u4ef6\u7684\u4e00\u4e9b\u76f8\u5173\u6743\u9650\u3001\u6240\u6709\u8005\u3001\u6240\u5c5e\u7ec4\u3001\u6587\u4ef6\u5927\u5c0f\u53ca\u4fee\u6539\u65f6\u95f4\u7b49\u4fe1\u606f\uff0c\u8fd9\u4e5f\u662f\u8be5\u547d\u4ee4\u7684\u6807\u51c6\u8f93\u51fa\u4fe1\u606f\u3002\u800c\u540d\u4e3axxxxxx\u7684\u7b2c\u4e8c\u4e2a\u6587\u4ef6\u662f\u4e0d\u5b58\u5728\u7684\uff0c\u56e0\u6b64\u5728\u6267\u884c\u5b8cls\u547d\u4ee4\u4e4b\u540e\u663e\u793a\u7684\u62a5\u9519\u63d0\u793a\u4fe1\u606f\u4e5f\u662f\u8be5\u547d\u4ee4\u7684\u9519\u8bef\u8f93\u51fa\u4fe1\u606f\u3002\u90a3\u4e48\uff0c\u8981\u60f3\u628a\u539f\u672c\u8f93\u51fa\u5230\u5c4f\u5e55\u4e0a\u7684\u6570\u636e\u8f6c\u800c\u5199\u5165\u5230\u6587\u4ef6\u5f53\u4e2d\uff0c\u5c31\u8981\u533a\u522b\u5bf9\u5f85\u8fd9\u4e24\u79cd\u8f93\u51fa\u4fe1\u606f\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5bf9\u4e8e\u8f93\u5165\u91cd\u5b9a\u5411\u6765\u8bb2\uff0c\u7528\u5230\u7684\u7b26\u53f7\u53ca\u5176\u4f5c\u7528\u5982\u88683-1\u6240\u793a\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u88683-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u8f93\u5165\u91cd\u5b9a\u5411\u4e2d\u7528\u5230\u7684\u7b26\u53f7\u53ca\u5176\u4f5c\u7528<\/p>\n<table id=\"tablepress-25\" class=\"tablepress tablepress-id-25\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u7b26\u53f7<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4f5c\u7528<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u547d\u4ee4 &lt; \u6587\u4ef6<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5c06\u6587\u4ef6\u4f5c\u4e3a\u547d\u4ee4\u7684\u6807\u51c6\u8f93\u5165<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u547d\u4ee4 &lt;&lt; \u5206\u754c\u7b26<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4ece\u6807\u51c6\u8f93\u5165\u4e2d\u8bfb\u5165\uff0c\u76f4\u5230\u9047\u89c1\u5206\u754c\u7b26\u624d\u505c\u6b62<\/td>\n<\/tr>\n<tr class=\"row-4 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u547d\u4ee4 &lt; \u6587\u4ef61 &gt; \u6587\u4ef62<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5c06\u6587\u4ef61\u4f5c\u4e3a\u547d\u4ee4\u7684\u6807\u51c6\u8f93\u5165\u5e76\u5c06\u6807\u51c6\u8f93\u51fa\u5230\u6587\u4ef62<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5bf9\u4e8e\u8f93\u51fa\u91cd\u5b9a\u5411\u6765\u8bb2\uff0c\u7528\u5230\u7684\u7b26\u53f7\u53ca\u5176\u4f5c\u7528\u5982\u88683-2\u6240\u793a\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u88683-2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u8f93\u51fa\u91cd\u5b9a\u5411\u4e2d\u7528\u5230\u7684\u7b26\u53f7\u53ca\u5176\u4f5c\u7528<\/p>\n<table id=\"tablepress-24\" class=\"tablepress tablepress-id-24\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u7b26\u53f7<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4f5c\u7528<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u547d\u4ee4 &gt; \u6587\u4ef6<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5c06\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff08\u6e05\u7a7a\u539f\u6709\u6587\u4ef6\u7684\u6570\u636e\uff09<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u547d\u4ee4 2&gt; \u6587\u4ef6<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u5c06\u9519\u8bef\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff08\u6e05\u7a7a\u539f\u6709\u6587\u4ef6\u7684\u6570\u636e\uff09<\/td>\n<\/tr>\n<tr class=\"row-4 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u547d\u4ee4 &gt;&gt; \u6587\u4ef6<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5c06\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff08\u8ffd\u52a0\u5230\u539f\u6709\u5185\u5bb9\u7684\u540e\u9762\uff09<\/td>\n<\/tr>\n<tr class=\"row-5 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u547d\u4ee4 2&gt;&gt; \u6587\u4ef6<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u5c06\u9519\u8bef\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff08\u8ffd\u52a0\u5230\u539f\u6709\u5185\u5bb9\u7684\u540e\u9762\uff09<\/td>\n<\/tr>\n<tr class=\"row-6 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u547d\u4ee4 &gt;&gt; \u6587\u4ef6 2&gt;&amp;1&nbsp;<br style=\"box-sizing: border-box;\"\/>\u6216<br style=\"box-sizing: border-box;\"\/>\u547d\u4ee4 &amp;&gt;&gt; \u6587\u4ef6<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5c06\u6807\u51c6\u8f93\u51fa\u4e0e\u9519\u8bef\u8f93\u51fa\u5171\u540c\u5199\u5165\u5230\u6587\u4ef6\u4e2d\uff08\u8ffd\u52a0\u5230\u539f\u6709\u5185\u5bb9\u7684\u540e\u9762\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5bf9\u4e8e\u91cd\u5b9a\u5411\u4e2d\u7684\u6807\u51c6\u8f93\u51fa\u6a21\u5f0f\uff0c\u53ef\u4ee5\u7701\u7565\u6587\u4ef6\u63cf\u8ff0\u7b261\u4e0d\u5199\uff0c\u800c\u9519\u8bef\u8f93\u51fa\u6a21\u5f0f\u7684\u6587\u4ef6\u63cf\u8ff0\u7b262\u662f\u5fc5\u987b\u8981\u5199\u7684\u3002\u6211\u4eec\u5148\u6765\u5c0f\u8bd5\u725b\u5200\u3002\u901a\u8fc7\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411\u5c06man bash\u547d\u4ee4\u539f\u672c\u8981\u8f93\u51fa\u5230\u5c4f\u5e55\u7684\u4fe1\u606f\u5199\u5165\u5230\u6587\u4ef6readme.txt\u4e2d\uff0c\u7136\u540e\u663e\u793areadme.txt\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\u3002\u5177\u4f53\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;man&nbsp;bash&nbsp;&gt;&nbsp;readme.txt\r\n[root@linuxprobe&nbsp;~]#&nbsp;cat&nbsp;readme.txt&nbsp;\r\nBASH(1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;General&nbsp;Commands&nbsp;Manual&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BASH(1)\r\nNAME\r\nbash&nbsp;-&nbsp;GNU&nbsp;Bourne-Again&nbsp;SHell\r\n\r\nSYNOPSIS\r\nbash&nbsp;[options]&nbsp;[file]\r\n\r\nCOPYRIGHT\r\nBash&nbsp;is&nbsp;Copyright&nbsp;(C)&nbsp;1989-2011&nbsp;by&nbsp;the&nbsp;Free&nbsp;Software&nbsp;Foundation,&nbsp;Inc.\r\n\r\nDESCRIPTION\r\nBash&nbsp;&nbsp;is&nbsp;&nbsp;an&nbsp;&nbsp;sh-compatible&nbsp;&nbsp;command&nbsp;language&nbsp;interpreter&nbsp;that&nbsp;executes\r\ncommands&nbsp;read&nbsp;from&nbsp;the&nbsp;standard&nbsp;input&nbsp;or&nbsp;from&nbsp;a&nbsp;file.&nbsp;&nbsp;Bash&nbsp;also&nbsp;incor\u2010\r\nporates&nbsp;useful&nbsp;features&nbsp;from&nbsp;the&nbsp;Korn&nbsp;and&nbsp;C&nbsp;shells&nbsp;(ksh&nbsp;and&nbsp;csh).\r\n\r\nBash&nbsp;&nbsp;is&nbsp;&nbsp;intended&nbsp;&nbsp;to&nbsp;&nbsp;be&nbsp;a&nbsp;conformant&nbsp;implementation&nbsp;of&nbsp;the&nbsp;Shell&nbsp;and\r\nUtilities&nbsp;portion&nbsp;&nbsp;of&nbsp;&nbsp;the&nbsp;&nbsp;IEEE&nbsp;&nbsp;POSIX&nbsp;&nbsp;specification&nbsp;&nbsp;(IEEE&nbsp;&nbsp;Standard\r\n1003.1).&nbsp;&nbsp;Bash&nbsp;can&nbsp;be&nbsp;configured&nbsp;to&nbsp;be&nbsp;POSIX-conformant&nbsp;by&nbsp;default.\r\n\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u6709\u6ca1\u6709\u611f\u89c9\u5230\u5f88\u65b9\u4fbf\u5462\uff1f\u6211\u4eec\u63a5\u4e0b\u6765\u5c1d\u8bd5\u8f93\u51fa\u91cd\u5b9a\u5411\u6280\u672f\u4e2d\u7684\u8986\u76d6\u5199\u5165\u4e0e\u8ffd\u52a0\u5199\u5165\u8fd9\u4e24\u79cd\u4e0d\u540c\u6a21\u5f0f\u5e26\u6765\u7684\u53d8\u5316\u3002\u9996\u5148\u901a\u8fc7\u8986\u76d6\u5199\u5165\u6a21\u5f0f\u5411readme.txt\u6587\u4ef6\u5199\u5165\u4e00\u884c\u6570\u636e\uff08\u8be5\u6587\u4ef6\u4e2d\u5305\u542b\u4e0a\u4e00\u4e2a\u5b9e\u9a8c\u7684man\u547d\u4ee4\u4fe1\u606f\uff09\uff0c\u7136\u540e\u518d\u901a\u8fc7\u8ffd\u52a0\u5199\u5165\u6a21\u5f0f\u5411\u6587\u4ef6\u518d\u5199\u5165\u4e00\u6b21\u6570\u636e\uff0c\u5176\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;&quot;Welcome&nbsp;to&nbsp;LinuxProbe.Com&quot;&nbsp;&gt;&nbsp;readme.txt\r\n[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;&quot;Quality&nbsp;linux&nbsp;learning&nbsp;materials&quot;&nbsp;&gt;&gt;&nbsp;readme.txt<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5728\u6267\u884ccat\u547d\u4ee4\u4e4b\u540e\uff0c\u53ef\u4ee5\u770b\u5230\u5982\u4e0b\u6240\u793a\u7684\u6587\u4ef6\u5185\u5bb9\uff1a<\/p>\n<\/div>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;cat&nbsp;readme.txt\r\nWelcome&nbsp;to&nbsp;LinuxProbe.Com\r\nQuality&nbsp;linux&nbsp;learning&nbsp;materials<\/pre>\n<div style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u867d\u7136\u90fd\u662f\u8f93\u51fa\u91cd\u5b9a\u5411\u6280\u672f\uff0c\u4f46\u662f\u4e0d\u540c\u547d\u4ee4\u7684\u6807\u51c6\u8f93\u51fa\u548c\u9519\u8bef\u8f93\u51fa\u8fd8\u662f\u6709\u533a\u522b\u7684\u3002\u4f8b\u5982\u67e5\u770b\u5f53\u524d\u76ee\u5f55\u4e2d\u67d0\u4e2a\u6587\u4ef6\u7684\u4fe1\u606f\uff0c\u8fd9\u91cc\u4ee5linuxprobe\u6587\u4ef6\u4e3a\u4f8b\u3002\u56e0\u4e3a\u8fd9\u4e2a\u6587\u4ef6\u662f\u771f\u5b9e\u5b58\u5728\u7684\uff0c\u56e0\u6b64\u4f7f\u7528\u6807\u51c6\u8f93\u51fa\u5373\u53ef\u5c06\u539f\u672c\u8981\u8f93\u51fa\u5230\u5c4f\u5e55\u7684\u4fe1\u606f\u5199\u5165\u5230\u6587\u4ef6\u4e2d\uff0c\u800c\u9519\u8bef\u7684\u8f93\u51fa\u91cd\u5b9a\u5411\u5219\u4f9d\u7136\u628a\u4fe1\u606f\u8f93\u51fa\u5230\u4e86\u5c4f\u5e55\u4e0a\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;linuxprobe&nbsp;\r\n-rw-r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;0&nbsp;Mar&nbsp;&nbsp;1&nbsp;13:30&nbsp;linuxprobe\r\n[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;linuxprobe&nbsp;&gt;&nbsp;\/root\/stderr.txt&nbsp;\r\n[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;linuxprobe&nbsp;2&gt;&nbsp;\/root\/stderr.txt&nbsp;\r\n-rw-r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;0&nbsp;Mar&nbsp;&nbsp;1&nbsp;13:30&nbsp;linuxprobe<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5982\u679c\u60f3\u628a\u547d\u4ee4\u7684\u62a5\u9519\u4fe1\u606f\u5199\u5165\u5230\u6587\u4ef6\uff0c\u8be5\u600e\u4e48\u64cd\u4f5c\u5462\uff1f\u5f53\u7528\u6237\u5728\u6267\u884c\u4e00\u4e2a\u81ea\u52a8\u5316\u7684Shell\u811a\u672c\u65f6\uff0c\u8fd9\u4e2a\u64cd\u4f5c\u4f1a\u7279\u522b\u6709\u7528\uff0c\u800c\u4e14\u7279\u522b\u5b9e\u7528\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u628a\u6574\u4e2a\u811a\u672c\u6267\u884c\u8fc7\u7a0b\u4e2d\u7684\u62a5\u9519\u4fe1\u606f\u90fd\u8bb0\u5f55\u5230\u6587\u4ef6\u4e2d\uff0c\u4fbf\u4e8e\u5b89\u88c5\u540e\u7684\u6392\u9519\u5de5\u4f5c\u3002\u63a5\u4e0b\u6765\u6211\u4eec\u4ee5\u4e00\u4e2a\u4e0d\u5b58\u5728\u7684\u6587\u4ef6\u8fdb\u884c\u5b9e\u9a8c\u6f14\u793a\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;xxxxxx&nbsp;\r\ncannot&nbsp;access&nbsp;xxxxxx:&nbsp;No&nbsp;such&nbsp;file&nbsp;or&nbsp;directory\r\n[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;xxxxxx&nbsp;&gt;&nbsp;\/root\/stderr.txt\r\ncannot&nbsp;access&nbsp;xxxxxx:&nbsp;No&nbsp;such&nbsp;file&nbsp;or&nbsp;directory\r\n[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;xxxxxx&nbsp;2&gt;&nbsp;\/root\/stderr.txt\r\n[root@linuxprobe&nbsp;~]#&nbsp;cat&nbsp;\/root\/stderr.txt&nbsp;\r\nls:&nbsp;cannot&nbsp;access&nbsp;xxxxxx:&nbsp;No&nbsp;such&nbsp;file&nbsp;or&nbsp;directory<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u8f93\u5165\u91cd\u5b9a\u5411\u76f8\u5bf9\u6765\u8bf4\u6709\u4e9b\u51b7\u95e8\uff0c\u5728\u5de5\u4f5c\u4e2d\u9047\u5230\u7684\u6982\u7387\u4f1a\u5c0f\u4e00\u70b9\u3002\u8f93\u5165\u91cd\u5b9a\u5411\u7684\u4f5c\u7528\u662f\u628a\u6587\u4ef6\u76f4\u63a5\u5bfc\u5165\u5230\u547d\u4ee4\u4e2d\u3002\u63a5\u4e0b\u6765\u4f7f\u7528\u8f93\u5165\u91cd\u5b9a\u5411\u628areadme.txt\u6587\u4ef6\u5bfc\u5165\u7ed9wc -l\u547d\u4ee4\uff0c\u7edf\u8ba1\u4e00\u4e0b\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\u884c\u6570\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;wc&nbsp;-l&nbsp;&lt;&nbsp;readme.txt\r\n2<\/pre>\n<blockquote style=\"box-sizing: border-box; padding: 10px 20px; margin: 0px 0px 20px; border-left-width: 5px; border-left-style: solid; border-color: rgba(0, 0, 0, 0.14902);\">\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u4e0a\u8ff0\u547d\u4ee4\u5b9e\u9645\u4e0a\u7b49\u540c\u4e8e\u63a5\u4e0b\u6765\u8981\u5b66\u4e60\u7684cat readme.txt | wc -l\u7684\u7ba1\u9053\u7b26\u547d\u4ee4\u7ec4\u5408\u3002<\/p>\n<\/blockquote>\n<\/div>\n<h5 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 100; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 14px; color: rgb(61, 68, 80); white-space: normal; background-color: rgb(255, 255, 255);\"><span id=\"32\" style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\"><strong style=\"box-sizing: border-box;\">3.2 \u7ba1\u9053\u547d\u4ee4\u7b26<\/strong><\/span><\/span><\/h5>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u7ec6\u5fc3\u7684\u8bfb\u8005\u80af\u5b9a\u8fd8\u8bb0\u5f97\u57282.6\u8282\u5b66\u4e60tr\u547d\u4ee4\u65f6\u66fe\u7ecf\u89c1\u5230\u8fc7\u4e00\u4e2a\u540d\u4e3a\u7ba1\u9053\u7b26\u7684\u4e1c\u897f\u3002\u540c\u65f6\u6309\u4e0b\u952e\u76d8\u4e0a\u7684Shift+\\\u952e\u5373\u53ef\u8f93\u5165\u7ba1\u9053\u7b26\uff0c\u5176\u6267\u884c\u683c\u5f0f\u4e3a\u201c\u547d\u4ee4A&nbsp;|&nbsp;\u547d\u4ee4B\u201d\u3002\u7ba1\u9053\u547d\u4ee4\u7b26\u7684\u4f5c\u7528\u4e5f\u53ef\u4ee5\u7528\u4e00\u53e5\u8bdd\u6765\u6982\u62ec\u201c\u628a\u524d\u4e00\u4e2a\u547d\u4ee4\u539f\u672c\u8981\u8f93\u51fa\u5230\u5c4f\u5e55\u7684\u6807\u51c6\u6b63\u5e38\u6570\u636e\u5f53\u4f5c\u662f\u540e\u4e00\u4e2a\u547d\u4ee4\u7684\u6807\u51c6\u8f93\u5165\u201d\u3002\u57282.8\u8282\u8bb2\u89e3grep\u6587\u672c\u641c\u7d22\u547d\u4ee4\u65f6\uff0c\u6211\u4eec\u901a\u8fc7\u5339\u914d\u5173\u952e\u8bcd\/sbin\/nologin\u627e\u51fa\u4e86\u6240\u6709\u88ab\u9650\u5236\u767b\u5f55\u7cfb\u7edf\u7684\u7528\u6237\u3002\u5728\u5b66\u5b8c\u672c\u8282\u5185\u5bb9\u540e\uff0c\u5b8c\u5168\u53ef\u4ee5\u628a\u4e0b\u9762\u8fd9\u4e24\u6761\u547d\u4ee4\u5408\u5e76\u4e3a\u4e00\u6761\uff1a<\/p>\n<blockquote style=\"box-sizing: border-box; padding: 10px 20px; margin: 0px 0px 20px; border-left-width: 5px; border-left-style: solid; border-color: rgba(0, 0, 0, 0.14902); color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u627e\u51fa\u88ab\u9650\u5236\u767b\u5f55\u7528\u6237\u7684\u547d\u4ee4\u662fgrep &quot;\/sbin\/nologin&quot; \/etc\/passwd\uff1b<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u7edf\u8ba1\u6587\u672c\u884c\u6570\u7684\u547d\u4ee4\u5219\u662fwc -l\u3002<\/p>\n<\/blockquote>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u73b0\u5728\u8981\u505a\u7684\u5c31\u662f\u628a\u641c\u7d22\u547d\u4ee4\u7684\u8f93\u51fa\u503c\u4f20\u9012\u7ed9\u7edf\u8ba1\u547d\u4ee4\uff0c\u5373\u628a\u539f\u672c\u8981\u8f93\u51fa\u5230\u5c4f\u5e55\u7684\u7528\u6237\u4fe1\u606f\u5217\u8868\u518d\u4ea4\u7ed9wc\u547d\u4ee4\u4f5c\u8fdb\u4e00\u6b65\u7684\u52a0\u5de5\uff0c\u56e0\u6b64\u53ea\u9700\u8981\u628a\u7ba1\u9053\u7b26\u653e\u5230\u4e24\u6761\u547d\u4ee4\u4e4b\u95f4\u5373\u53ef\uff0c\u5177\u4f53\u5982\u4e0b\u3002\u8fd9\u7b80\u76f4\u662f\u592a\u65b9\u4fbf\u4e86\uff01<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;grep&nbsp;&quot;\/sbin\/nologin&quot;&nbsp;\/etc\/passwd&nbsp;|&nbsp;wc&nbsp;-l\r\n33<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u8fd9\u4e2a\u7ba1\u9053\u7b26\u5c31\u50cf\u4e00\u4e2a\u6cd5\u5b9d\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u5b83\u5957\u7528\u5230\u5176\u4ed6\u4e0d\u540c\u7684\u547d\u4ee4\u4e0a\uff0c\u6bd4\u5982\u7528\u7ffb\u9875\u7684\u5f62\u5f0f\u67e5\u770b\/etc\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u5217\u8868\u53ca\u5c5e\u6027\u4fe1\u606f\uff08\u8fd9\u4e9b\u5185\u5bb9\u9ed8\u8ba4\u4f1a\u4e00\u80a1\u8111\u513f\u5730\u663e\u793a\u5230\u5c4f\u5e55\u4e0a\uff0c\u6839\u672c\u770b\u4e0d\u6e05\u695a\uff09\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;\/etc\/&nbsp;|&nbsp;more\r\ntotal&nbsp;1400\r\ndrwxr-xr-x.&nbsp;3&nbsp;root&nbsp;root&nbsp;97&nbsp;Jul&nbsp;10&nbsp;17:26&nbsp;abrt\r\n-rw-r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;16&nbsp;Jul&nbsp;10&nbsp;17:36&nbsp;adjtime\r\n-rw-r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;1518&nbsp;Jun&nbsp;7&nbsp;2013&nbsp;aliases\r\n-rw-r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;12288&nbsp;Jul&nbsp;10&nbsp;09:38&nbsp;aliases.db\r\ndrwxr-xr-x.&nbsp;2&nbsp;root&nbsp;root&nbsp;49&nbsp;Jul&nbsp;10&nbsp;17:26&nbsp;alsa\r\ndrwxr-xr-x.&nbsp;2&nbsp;root&nbsp;root&nbsp;4096&nbsp;Jul&nbsp;10&nbsp;17:31&nbsp;alternatives\r\n-rw-------.&nbsp;1&nbsp;root&nbsp;root&nbsp;541&nbsp;Jan&nbsp;28&nbsp;2017&nbsp;anacrontab\r\n-rw-r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;55&nbsp;Jan&nbsp;29&nbsp;2017&nbsp;asound.conf\r\n-rw-r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;1&nbsp;Jan&nbsp;29&nbsp;2017&nbsp;at.deny\r\ndrwxr-xr-x.&nbsp;2&nbsp;root&nbsp;root&nbsp;31&nbsp;Jul&nbsp;10&nbsp;17:27&nbsp;at-spi2\r\ndrwxr-x---.&nbsp;3&nbsp;root&nbsp;root&nbsp;41&nbsp;Jul&nbsp;10&nbsp;17:26&nbsp;audisp\r\ndrwxr-x---.&nbsp;3&nbsp;root&nbsp;root&nbsp;79&nbsp;Jul&nbsp;10&nbsp;17:37&nbsp;audit\r\ndrwxr-xr-x.&nbsp;4&nbsp;root&nbsp;root&nbsp;94&nbsp;Jul&nbsp;10&nbsp;17:26&nbsp;avahi--More--<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u5728\u4fee\u6539\u7528\u6237\u5bc6\u7801\u65f6\uff0c\u901a\u5e38\u90fd\u9700\u8981\u8f93\u5165\u4e24\u6b21\u5bc6\u7801\u4ee5\u8fdb\u884c\u786e\u8ba4\uff0c\u8fd9\u5728\u7f16\u5199\u81ea\u52a8\u5316\u811a\u672c\u65f6\u5c06\u6210\u4e3a\u4e00\u4e2a\u975e\u5e38\u81f4\u547d\u7684\u7f3a\u9677\u3002\u901a\u8fc7\u628a\u7ba1\u9053\u7b26\u548cpasswd\u547d\u4ee4\u7684&#8211;stdin\u53c2\u6570\u76f8\u7ed3\u5408\uff0c\u6211\u4eec\u53ef\u4ee5\u7528\u4e00\u6761\u547d\u4ee4\u6765\u5b8c\u6210\u5bc6\u7801\u91cd\u7f6e\u64cd\u4f5c\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;&quot;linuxprobe&quot;&nbsp;|&nbsp;passwd&nbsp;--stdin&nbsp;root\r\nChanging&nbsp;password&nbsp;for&nbsp;user&nbsp;root.\r\npasswd:&nbsp;all&nbsp;authentication&nbsp;tokens&nbsp;updated&nbsp;successfully.<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u5927\u5bb6\u662f\u4e0d\u662f\u89c9\u5f97\u7ba1\u9053\u7b26\u547d\u4ee4\u6709\u4e9b\u76f8\u89c1\u6068\u665a\uff1f\u7ba1\u9053\u7b26\u7684\u73a9\u6cd5\u8fd8\u6709\u5f88\u591a\uff0c\u6bd4\u5982\uff0c\u5728\u53d1\u9001\u7535\u5b50\u90ae\u4ef6\u65f6\uff0c\u9ed8\u8ba4\u91c7\u7528\u4ea4\u4e92\u5f0f\u7684\u65b9\u5f0f\u6765\u8fdb\u884c\uff0c\u6211\u4eec\u5b8c\u5168\u53ef\u4ee5\u5229\u7528\u4e00\u6761\u7ed3\u5408\u4e86\u7ba1\u9053\u7b26\u7684\u547d\u4ee4\u8bed\u53e5\uff0c\u628a\u7f16\u8f91\u597d\u7684\u5185\u5bb9\u4e0e\u6807\u9898\u4e00\u8d77\u201c\u6253\u5305\u201d\uff0c\u6700\u7ec8\u7528\u8fd9\u4e00\u6761\u547d\u4ee4\u5b9e\u73b0\u90ae\u4ef6\u7684\u53d1\u9001\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;&quot;Content&quot;&nbsp;|&nbsp;mail&nbsp;-s&nbsp;&quot;Subject&quot;&nbsp;linuxprobe\r\n[root@linuxprobe&nbsp;~]#&nbsp;su&nbsp;-&nbsp;linuxprobe\r\nLast&nbsp;login:&nbsp;Fri&nbsp;Jul&nbsp;10&nbsp;09:44:07&nbsp;CST&nbsp;2017&nbsp;on&nbsp;:0\r\n[linuxprobe@linuxprobe&nbsp;~]$&nbsp;mail\r\nHeirloom&nbsp;Mail&nbsp;version&nbsp;12.5&nbsp;7\/5\/10.&nbsp;Type&nbsp;?&nbsp;for&nbsp;help.\r\n&quot;\/var\/spool\/mail\/linuxprobe&quot;:&nbsp;1&nbsp;message&nbsp;1&nbsp;new\r\n&gt;N&nbsp;1&nbsp;root&nbsp;Sun&nbsp;Aug&nbsp;30&nbsp;17:33&nbsp;18\/578&nbsp;&quot;Subject&quot;<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u5982\u679c\u8bfb\u8005\u662f\u4e00\u540dLinux\u65b0\u624b\uff0c\u53ef\u80fd\u4f1a\u89c9\u5f97\u4e0a\u9762\u7684\u547d\u4ee4\u7ec4\u5408\u5df2\u7ecf\u5341\u5206\u590d\u6742\u4e86\uff0c\u4f46\u662f\u6709\u8fc7\u8fd0\u7ef4\u7ecf\u9a8c\u7684\u8bfb\u8005\u53c8\u4f1a\u611f\u89c9\u5982\u9694\u9774\u6320\u75d2\u822c\u4e0d\u8fc7\u763e\uff0c\u4ed6\u4eec\u5e0c\u671b\u80fd\u5c06\u8fd9\u6837\u65b9\u4fbf\u7684\u547d\u4ee4\u5199\u5f97\u66f4\u9ad8\u7ea7\u4e00\u4e9b\uff0c\u529f\u80fd\u66f4\u5f3a\u5927\u4e00\u4e9b\u3002\u6bd4\u5982\u901a\u8fc7\u91cd\u5b9a\u5411\u6280\u672f\u80fd\u591f\u4e00\u6b21\u6027\u5730\u628a\u591a\u884c\u4fe1\u606f\u6253\u5305\u8f93\u5165\u6216\u8f93\u51fa\uff0c\u8ba9\u65e5\u5e38\u5de5\u4f5c\u66f4\u6709\u6548\u7387\u3002\u4e3a\u4e86\u5927\u5bb6\u5bf9\u6211\u4eec\u8fd9\u672c\u4e66\u7684\u6367\u573a\uff0c<a href=\"https:\/\/www.linuxprobe.com\/\" title=\"\u5218\u9044\" target=\"_blank\" style=\"box-sizing: border-box; color: rgb(210, 50, 45); text-decoration: none;\" rel=\"noopener noreferrer\">\u5218\u9044<\/a>\u8001\u5e08\u5f53\u7136\u8981\u4e49\u4e0d\u5bb9\u8f9e\u5730\u628a\u6280\u672f\u62f1\u624b\u5949\u4e0a\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u4e0b\u9762\u8fd9\u6761\u81ea\u9020\u7684\u547d\u4ee4\u5c31\u7ed3\u5408\u4f7f\u7528\u4e86mail\u90ae\u4ef6\u547d\u4ee4\u4e0e\u8f93\u5165\u91cd\u5b9a\u5411\u7684\u5206\u754c\u7b26\uff0c\u5176\u76ee\u7684\u662f\u8ba9\u7528\u6237\u4e00\u76f4\u8f93\u5165\u5185\u5bb9\uff0c\u76f4\u5230\u7528\u6237\u8f93\u5165\u4e86\u5176\u81ea\u5b9a\u4e49\u7684\u5206\u754c\u7b26\u65f6\uff0c\u624d\u7ed3\u675f\u8f93\u5165\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;mail&nbsp;-s&nbsp;&quot;Readme&quot;&nbsp;root@linuxprobe.com&nbsp;&lt;&lt;&nbsp;over&gt;&nbsp;I&nbsp;think&nbsp;linux&nbsp;is&nbsp;very&nbsp;practical&gt;&nbsp;I&nbsp;hope&nbsp;to&nbsp;learn&nbsp;more&gt;&nbsp;can&nbsp;you&nbsp;teach&nbsp;me&nbsp;?&gt;&nbsp;over\r\n[root@linuxprobe&nbsp;~]#<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u5f53\u7136\uff0c\u5927\u5bb6\u5343\u4e07\u4e0d\u8981\u8bef\u4ee5\u4e3a\u7ba1\u9053\u547d\u4ee4\u7b26\u53ea\u80fd\u5728\u4e00\u4e2a\u547d\u4ee4\u7ec4\u5408\u4e2d\u4f7f\u7528\u4e00\u6b21\uff0c\u6211\u4eec\u5b8c\u5168\u53ef\u4ee5\u8fd9\u6837\u4f7f\u7528\uff1a\u201c\u547d\u4ee4A | \u547d\u4ee4B | \u547d\u4ee4C\u201d\u3002\u4e3a\u4e86\u5e2e\u52a9\u8bfb\u8005\u8fdb\u4e00\u6b65\u7406\u89e3\u7ba1\u9053\u7b26\u7684\u4f5c\u7528\uff0c\u5218\u9044\u8001\u5e08\u5728\u8bb2\u8bfe\u65f6\u7ecf\u5e38\u4f1a\u628a\u7ba1\u9053\u7b26\u63cf\u8ff0\u6210\u201c\u4efb\u610f\u95e8\u201d\u3002\u60f3\u5fc5\u5927\u5bb6\u5c0f\u65f6\u5019\u90fd\u770b\u8fc7\u201c\u54c6\u5566A\u68a6\u201d\u52a8\u753b\u7247\u5427\u3002\u54c6\u5566A\u68a6\uff08\u4e5f\u5c31\u662f\u6211\u4eec\u5e38\u79f0\u7684\u673a\u5668\u732b\uff09\u7ecf\u5e38\u4e3a\u4e86\u53d6\u60a6\u5927\u96c4\u800c\u4ece\u53e3\u888b\u4e2d\u638f\u51fa\u4e00\u4ef6\u4ef6\u5b9d\u8d1d\uff0c\u5176\u4e2d\u597d\u591a\u6b21\u5c31\u7528\u5230\u4e86\u4efb\u610f\u95e8\u8fd9\u4e2a\u9053\u5177\u3002\u5176\u5b9e\uff0c\u7ba1\u9053\u7b26\u5c31\u597d\u50cf\u662f\u7528\u4e8e\u5b9e\u73b0\u6570\u636e\u7a7f\u8d8a\u7684\u4efb\u610f\u95e8\uff0c\u53ef\u4ee5\u5e2e\u6211\u4eec\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u5b8c\u6210\u4e4b\u524d\u4e0d\u6562\u60f3\u8c61\u7684\u590d\u6742\u5de5\u4f5c\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u51fa\u73b0\u95ee\u9898?\u5927\u80c6\u63d0\u95ee!<\/strong><\/p>\n<blockquote style=\"box-sizing: border-box; padding: 10px 20px; margin: 0px 0px 20px; border-left-width: 5px; border-left-style: solid; border-color: rgba(0, 0, 0, 0.14902); color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u56e0\u8bfb\u8005\u4eec\u786c\u4ef6\u4e0d\u540c\u6216\u64cd\u4f5c\u9519\u8bef\u90fd\u53ef\u80fd\u5bfc\u81f4\u5b9e\u9a8c\u914d\u7f6e\u51fa\u9519\uff0c\u8bf7\u8010\u5fc3\u518d\u4ed4\u7ec6\u770b\u770b\u64cd\u4f5c\u6b65\u9aa4\u5427\uff0c\u4e0d\u8981\u6c14\u9981~<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">Linux\u6280\u672f\u4ea4\u6d41\u8bf7\u52a0A\u7fa4\uff1a560843(<strong style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\">\u6ee1<\/span><\/strong>)\uff0cB\u7fa4\uff1a340829(<span style=\"box-sizing: border-box; color: #008000;\">\u63a8\u8350<\/span>)\uff0cC\u7fa4\uff1a463590\uff08<strong style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\">\u63a8\u8350<\/span><\/strong>\uff09\uff0c<a href=\"https:\/\/www.linuxprobe.com\/club\" style=\"box-sizing: border-box; color: rgb(210, 50, 45); text-decoration: none;\">\u70b9\u6b64\u67e5\u770b\u5168\u56fd\u7fa4<\/a>\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">*\u672c\u7fa4\u7279\u8272\uff1a\u901a\u8fc7\u53e3\u4ee4\u9a8c\u8bc1\u786e\u4fdd\u6bcf\u4e00\u4e2a\u7fa4\u5458\u90fd\u662f\u300aLinux\u5c31\u8be5\u8fd9\u4e48\u5b66\u300b\u7684\u8bfb\u8005\uff0c\u7b54\u7591\u66f4\u6709\u9488\u5bf9\u6027\uff0c\u4e0d\u5b9a\u671f\u514d\u8d39\u9886\u53d6\u5b9a\u5236\u793c\u54c1\u3002<\/p>\n<\/blockquote>\n<div style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<h5 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 100; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 14px;\"><span id=\"33\" style=\"box-sizing: border-box;\"><strong style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\">3.3&nbsp;\u547d\u4ee4\u884c\u7684\u901a\u914d\u7b26<\/span><\/strong><\/span><\/h5>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5927\u5bb6\u53ef\u80fd\u90fd\u9047\u5230\u8fc7\u63d0\u7b14\u5fd8\u5b57\u7684\u5c34\u5c2c\uff0c\u4f5c\u4e3aLinux\u8fd0\u7ef4\u4eba\u5458\uff0c\u6211\u4eec\u6709\u65f6\u5019\u4e5f\u4f1a\u9047\u5230\u660e\u660e\u4e00\u4e2a\u6587\u4ef6\u7684\u540d\u79f0\u5c31\u5728\u5634\u8fb9\u4f46\u5c31\u662f\u60f3\u4e0d\u8d77\u6765\u7684\u60c5\u51b5\u3002\u5982\u679c\u5c31\u8bb0\u5f97\u4e00\u4e2a\u6587\u4ef6\u7684\u5f00\u5934\u51e0\u4e2a\u5b57\u6bcd\uff0c\u60f3\u904d\u5386\u67e5\u627e\u51fa\u6240\u6709\u4ee5\u8fd9\u4e2a\u5173\u952e\u8bcd\u5f00\u5934\u7684\u6587\u4ef6\uff0c\u8be5\u600e\u4e48\u64cd\u4f5c\u5462\uff1f\u53c8\u6bd4\u5982\uff0c\u5047\u8bbe\u60f3\u8981\u6279\u91cf\u67e5\u770b\u6240\u6709\u786c\u76d8\u6587\u4ef6\u7684\u76f8\u5173\u6743\u9650\u5c5e\u6027\uff0c\u4e00\u79cd\u65b9\u5f0f\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;\/dev\/sda\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;0&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda\r\n[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;\/dev\/sda1\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;1&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda1\r\n[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;\/dev\/sda2\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;2&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda2\r\n[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;\/dev\/sda3\r\nls:&nbsp;cannot&nbsp;access&nbsp;\/dev\/sda3:&nbsp;No&nbsp;such&nbsp;file&nbsp;or&nbsp;directory<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5e78\u4e8f\u6211\u7684\u786c\u76d8\u6587\u4ef6\u548c\u5206\u533a\u53ea\u67093\u4e2a\uff0c\u8981\u662f\u6709\u51e0\u767e\u4e2a\uff0c\u4f30\u8ba1\u9700\u8981\u82b1\u8d39\u4e00\u5929\u7684\u65f6\u95f4\u6765\u5fd9\u8fd9\u4e2a\u4e8b\u60c5\u4e86\u3002\u7531\u6b64\u53ef\u89c1\uff0c\u8fd9\u79cd\u65b9\u5f0f\u7684\u6548\u7387\u786e\u5b9e\u5f88\u4f4e\u3002\u867d\u7136\u6211\u4eec\u5728\u7b2c6\u7ae0\u624d\u4f1a\u8bb2\u89e3Linux\u7cfb\u7edf\u7684\u5b58\u50a8\u7ed3\u6784\u548cFHS\uff0c\u4f46\u73b0\u5728\u6211\u4eec\u5e94\u8be5\u80fd\u770b\u51fa\u4e00\u4e9b\u7b80\u5355\u89c4\u5f8b\u4e86\u3002\u6bd4\u5982\uff0c\u8fd9\u4e9b\u786c\u76d8\u8bbe\u5907\u6587\u4ef6\u90fd\u662f\u4ee5sda\u5f00\u5934\u5e76\u4e14\u5b58\u653e\u5230\u4e86\/dev\u76ee\u5f55\u4e2d\uff0c\u8fd9\u6837\u4e00\u6765\uff0c\u5373\u4f7f\u6211\u4eec\u4e0d\u77e5\u9053\u786c\u76d8\u7684\u5206\u533a\u7f16\u53f7\u548c\u5177\u4f53\u5206\u533a\u7684\u4e2a\u6570\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u901a\u914d\u7b26\u6765\u641e\u5b9a\u3002\u987e\u540d\u601d\u4e49\uff0c\u901a\u914d\u7b26\u5c31\u662f\u901a\u7528\u7684\u5339\u914d\u4fe1\u606f\u7684\u7b26\u53f7\uff0c\u6bd4\u5982\u661f\u53f7\uff08*\uff09\u4ee3\u8868\u5339\u914d\u96f6\u4e2a\u6216\u591a\u4e2a\u5b57\u7b26\uff0c\u95ee\u53f7\uff08?\uff09\u4ee3\u8868\u5339\u914d\u5355\u4e2a\u5b57\u7b26\uff0c\u4e2d\u62ec\u53f7\u5185\u52a0\u4e0a\u6570\u5b57[0-9]\u4ee3\u8868\u5339\u914d0\uff5e9\u4e4b\u95f4\u7684\u5355\u4e2a\u6570\u5b57\u7684\u5b57\u7b26\uff0c\u800c\u4e2d\u62ec\u53f7\u5185\u52a0\u4e0a\u5b57\u6bcd[abc]\u5219\u662f\u4ee3\u8868\u5339\u914da\u3001b\u3001c\u4e09\u4e2a\u5b57\u7b26\u4e2d\u7684\u4efb\u610f\u4e00\u4e2a\u5b57\u7b26\u3002\u4fd7\u8bdd\u8bb2\u201c\u767e\u95fb\u4e0d\u5982\u4e00\u89c1\uff0c\u770b\u4e66\u4e0d\u5982\u5b9e\u9a8c\u201d\uff0c\u4e0b\u9762\u6211\u4eec\u5c31\u6765\u5339\u914d\u6240\u6709\u5728\/dev\u76ee\u5f55\u4e2d\u4e14\u4ee5sda\u5f00\u5934\u7684\u6587\u4ef6\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;\/dev\/sda*\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;0&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;1&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda1\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;2&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda2<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5982\u679c\u53ea\u60f3\u67e5\u770b\u6587\u4ef6\u540d\u4e3asda\u5f00\u5934\uff0c\u4f46\u662f\u540e\u9762\u8fd8\u7d27\u8ddf\u5176\u4ed6\u67d0\u4e00\u4e2a\u5b57\u7b26\u7684\u6587\u4ef6\u7684\u76f8\u5173\u4fe1\u606f\uff0c\u8be5\u600e\u4e48\u64cd\u4f5c\u5462\uff1f\u8fd9\u65f6\u5c31\u9700\u8981\u7528\u5230\u95ee\u53f7\u6765\u8fdb\u884c\u901a\u914d\u4e86\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;\/dev\/sda?\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;1&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda1\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;2&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda2<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u9664\u4e86\u4f7f\u7528[0-9]\u6765\u5339\u914d0~9\u4e4b\u95f4\u7684\u5355\u4e2a\u6570\u5b57\uff0c\u4e5f\u53ef\u4ee5\u7528[135]\u8fd9\u6837\u7684\u65b9\u5f0f\u4ec5\u5339\u914d\u8fd9\u4e09\u4e2a\u6307\u5b9a\u6570\u5b57\u4e2d\u7684\u4e00\u4e2a\uff0c\u82e5\u6ca1\u6709\u5339\u914d\u5230\uff0c\u5219\u4e0d\u4f1a\u663e\u793a\u51fa\u6765\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;\/dev\/sda[0-9]\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;1&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda1\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;2&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda2\r\n[root@linuxprobe&nbsp;~]#&nbsp;ls&nbsp;-l&nbsp;\/dev\/sda[135]\r\nbrw-rw----.&nbsp;1&nbsp;root&nbsp;disk&nbsp;8,&nbsp;1&nbsp;May&nbsp;4&nbsp;15:55&nbsp;\/dev\/sda1<\/pre>\n<h5 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 100; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 14px;\"><span id=\"34\" style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\"><strong style=\"box-sizing: border-box;\">3.4 \u5e38\u7528\u7684\u8f6c\u4e49\u5b57\u7b26<\/strong><\/span><\/span><\/h5>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u4e3a\u4e86\u80fd\u591f\u66f4\u597d\u5730\u7406\u89e3\u7528\u6237\u7684\u8868\u8fbe\uff0cShell\u89e3\u91ca\u5668\u8fd8\u63d0\u4f9b\u4e86\u7279\u522b\u4e30\u5bcc\u7684\u8f6c\u4e49\u5b57\u7b26\u6765\u5904\u7406\u8f93\u5165\u7684\u7279\u6b8a\u6570\u636e\u3002\u5218\u9044\u8001\u5e08\u4ee5\u8fd1\u5341\u5e74\u7684\u5de5\u4f5c\u548c\u57f9\u8bad\u4e3a\u57fa\u7840\uff0c\u6123\u662f\u7528\u4e86\u4e24\u5468\u65f6\u95f4\u4ece\u6570\u5341\u4e2a\u8f6c\u4e49\u5b57\u7b26\u4e2d\u63d0\u70bc\u51fa\u4e864\u4e2a\u6700\u5e38\u7528\u7684\u8f6c\u4e49\u5b57\u7b26\uff01\u8fd9\u4ef6\u4e8b\u60c5\u4e5f\u8ba9\u6211\u6df1\u523b\u53cd\u7701\u4e86\u5f88\u957f\u65f6\u95f4\u3002\u539f\u672c\u8ba4\u4e3a\u56fe\u4e66\u5199\u7684\u8d8a\u539a\uff0c\u4f5c\u8005\u8d8a\u662f\u5927\u725b\uff0c\u73b0\u5728\u53d1\u73b0\u8fd9\u79cd\u89c2\u5ff5\u5b8c\u5168\u662f\u9519\u8bef\u7684\uff0c\u5e0c\u671b\u8bfb\u8005\u5728\u8bfb\u5b8c\u672c\u4e66\u540e\u80fd\u4f53\u4f1a\u5230\u5218\u9044\u8001\u5e08\u7684\u7528\u5fc3\u4ed8\u51fa\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">4\u4e2a\u6700\u5e38\u7528\u7684\u8f6c\u4e49\u5b57\u7b26\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<blockquote style=\"box-sizing: border-box; padding: 10px 20px; margin: 0px 0px 20px; border-left-width: 5px; border-left-style: solid; border-color: rgba(0, 0, 0, 0.14902);\">\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u53cd\u659c\u6760\uff08\\\uff09\uff1a\u4f7f\u53cd\u659c\u6760\u540e\u9762\u7684\u4e00\u4e2a\u53d8\u91cf\u53d8\u4e3a\u5355\u7eaf\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5355\u5f15\u53f7\uff08&#39;&#39;\uff09\uff1a\u8f6c\u4e49\u5176\u4e2d\u6240\u6709\u7684\u53d8\u91cf\u4e3a\u5355\u7eaf\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u53cc\u5f15\u53f7\uff08&quot;&quot;\uff09\uff1a\u4fdd\u7559\u5176\u4e2d\u7684\u53d8\u91cf\u5c5e\u6027\uff0c\u4e0d\u8fdb\u884c\u8f6c\u4e49\u5904\u7406\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u53cd\u5f15\u53f7\uff08&#8220;\uff09\uff1a\u628a\u5176\u4e2d\u7684\u547d\u4ee4\u6267\u884c\u540e\u8fd4\u56de\u7ed3\u679c\u3002<\/p>\n<\/blockquote>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u6211\u4eec\u5148\u5b9a\u4e49\u4e00\u4e2a\u540d\u4e3aPRICE\u7684\u53d8\u91cf\u5e76\u8d4b\u503c\u4e3a5\uff0c\u7136\u540e\u8f93\u51fa\u4ee5\u53cc\u5f15\u53f7\u62ec\u8d77\u6765\u7684\u5b57\u7b26\u4e32\u4e0e\u53d8\u91cf\u4fe1\u606f\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;PRICE=5\r\n[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;&quot;Price&nbsp;is&nbsp;$PRICE&quot;\r\nPrice&nbsp;is&nbsp;5<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5e0c\u671b\u80fd\u591f\u8f93\u51fa\u201cPrice is $5\u201d\uff0c\u5373\u4ef7\u683c\u662f5\u7f8e\u5143\u7684\u5b57\u7b26\u4e32\u5185\u5bb9\uff0c\u4f46\u78b0\u5de7\u7f8e\u5143\u7b26\u53f7\u4e0e\u53d8\u91cf\u63d0\u53d6\u7b26\u53f7\u5408\u5e76\u540e\u7684$$\u4f5c\u7528\u662f\u663e\u793a\u5f53\u524d\u7a0b\u5e8f\u7684\u8fdb\u7a0bID\u53f7\u7801\uff0c\u4e8e\u662f\u547d\u4ee4\u6267\u884c\u540e\u8f93\u51fa\u7684\u5185\u5bb9\u5e76\u4e0d\u662f\u6211\u4eec\u6240\u9884\u671f\u7684\uff1a<\/p>\n<\/div>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;&quot;Price&nbsp;is&nbsp;$$PRICE&quot;&nbsp;\r\nPrice&nbsp;is&nbsp;3767PRICE<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u8981\u60f3\u8ba9\u7b2c\u4e00\u4e2a\u201c$\u201d\u4e56\u4e56\u5730\u4f5c\u4e3a\u7f8e\u5143\u7b26\u53f7\uff0c\u90a3\u4e48\u5c31\u9700\u8981\u4f7f\u7528\u53cd\u659c\u6760\uff08\\\uff09\u6765\u8fdb\u884c\u8f6c\u4e49\uff0c\u5c06\u8fd9\u4e2a\u547d\u4ee4\u63d0\u53d6\u7b26\u8f6c\u4e49\u6210\u5355\u7eaf\u7684\u6587\u672c\uff0c\u53bb\u9664\u5176\u7279\u6b8a\u529f\u80fd\u3002<\/p>\n<div style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;&quot;Price&nbsp;is&nbsp;\\$$PRICE&quot;\r\nPrice&nbsp;is&nbsp;$5<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u800c\u5982\u679c\u53ea\u9700\u8981\u67d0\u4e2a\u547d\u4ee4\u7684\u8f93\u51fa\u503c\u65f6\uff0c\u53ef\u4ee5\u50cf`\u547d\u4ee4`\u8fd9\u6837\uff0c\u5c06\u547d\u4ee4\u7528\u53cd\u5f15\u53f7\u62ec\u8d77\u6765\uff0c\u8fbe\u5230\u9884\u671f\u7684\u6548\u679c\u3002\u4f8b\u5982\uff0c\u5c06\u53cd\u5f15\u53f7\u4e0euname -a\u547d\u4ee4\u7ed3\u5408\uff0c\u7136\u540e\u4f7f\u7528echo\u547d\u4ee4\u6765\u67e5\u770b\u672c\u673a\u7684Linux\u7248\u672c\u548c\u5185\u6838\u4fe1\u606f\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;`uname&nbsp;-a`\r\nLinux&nbsp;linuxprobe.com&nbsp;3.10.0-123.el7.x86_64&nbsp;#1&nbsp;SMP&nbsp;Mon&nbsp;May&nbsp;5&nbsp;11:16:57&nbsp;EDT&nbsp;2017&nbsp;x86_64&nbsp;x86_64&nbsp;x86_64&nbsp;GNU\/Linux<\/pre>\n<\/div>\n<div style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<h5 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 100; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 14px;\"><span id=\"35\" style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\"><strong style=\"box-sizing: border-box;\">3.5&nbsp;\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf<\/strong><\/span><\/span><\/h5>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u53d8\u91cf\u662f\u8ba1\u7b97\u673a\u7cfb\u7edf\u7528\u4e8e\u4fdd\u5b58\u53ef\u53d8\u503c\u7684\u6570\u636e\u7c7b\u578b\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u53d8\u91cf\u540d\u79f0\u4e00\u822c\u90fd\u662f\u5927\u5199\u7684\uff0c\u8fd9\u662f\u4e00\u79cd\u7ea6\u5b9a\u4fd7\u6210\u7684\u89c4\u8303\u3002\u6211\u4eec\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u53d8\u91cf\u540d\u79f0\u6765\u63d0\u53d6\u5230\u5bf9\u5e94\u7684\u53d8\u91cf\u503c\u3002Linux\u7cfb\u7edf\u4e2d\u7684\u73af\u5883\u53d8\u91cf\u662f\u7528\u6765\u5b9a\u4e49\u7cfb\u7edf\u8fd0\u884c\u73af\u5883\u7684\u4e00\u4e9b\u53c2\u6570\uff0c\u6bd4\u5982\u6bcf\u4e2a\u7528\u6237\u4e0d\u540c\u7684\u5bb6\u76ee\u5f55\u3001\u90ae\u4ef6\u5b58\u653e\u4f4d\u7f6e\u7b49\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u7ec6\u5fc3\u7684\u8bfb\u8005\u5e94\u8be5\u53d1\u73b0\u4e86\uff0c\u672c\u8282\u548c\u4e0a\u4e00\u8282\u7684\u6807\u9898\u540d\u90fd\u5206\u522b\u52a0\u4e86\u5f62\u5bb9\u8bcd\u2014\u91cd\u8981\u7684\u3001\u5e38\u89c1\u7684\u3002\u539f\u56e0\u5176\u5b9e\u4e0d\u8a00\u800c\u55bb\u2014\u8981\u60f3\u8ba9Linux\u7cfb\u7edf\u80fd\u591f\u6b63\u5e38\u8fd0\u884c\u5e76\u4e14\u4e3a\u7528\u6237\u63d0\u4f9b\u670d\u52a1\uff0c\u9700\u8981\u6570\u767e\u4e2a\u73af\u5883\u53d8\u91cf\u6765\u534f\u540c\u5de5\u4f5c\uff0c\u6211\u4eec\u6ca1\u6709\u5fc5\u8981\u9010\u4e00\u67e5\u770b\u3001\u5b66\u4e60\u6bcf\u4e00\u4e2a\u53d8\u91cf\uff0c\u800c\u662f\u5e94\u8be5\u5728\u6709\u9650\u7684\u7bc7\u5e45\u4e2d\u7cbe\u8bb2\u6700\u91cd\u8981\u7684\u5185\u5bb9\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u4e3a\u4e86\u901a\u8fc7\u73af\u5883\u53d8\u91cf\u5e2e\u52a9Linux\u7cfb\u7edf\u6784\u5efa\u8d77\u80fd\u591f\u4e3a\u7528\u6237\u63d0\u4f9b\u670d\u52a1\u7684\u5de5\u4f5c\u8fd0\u884c\u73af\u5883\uff0c\u9700\u8981\u6570\u767e\u4e2a\u53d8\u91cf\u534f\u540c\u5de5\u4f5c\u624d\u80fd\u5b8c\u6210\u3002\u60a8\u5f53\u7136\u6ca1\u6709\u5fc5\u8981\u53bb\u628a\u6bcf\u4e00\u4e2a\u53d8\u91cf\u90fd\u770b\u4e00\u904d\uff0c\u800c\u5e94\u8be5\u5728\u6700\u5b9d\u8d35\u7684\u4e66\u7c4d\u4e2d\u4e3a\u8bfb\u8005\u7cbe\u8bb2\u6700\u91cd\u8981\u7684\u5185\u5bb9\u3002\u4e3a\u4e86\u66f4\u597d\u5730\u5e2e\u52a9\u5927\u5bb6\u7406\u89e3\u53d8\u91cf\u7684\u4f5c\u7528\uff0c\u5218\u9044\u8001\u5e08\u7ed9\u5927\u5bb6\u4e3e\u4e2a\u4f8b\u5b50\u3002\u524d\u6587\u4e2d\u66fe\u7ecf\u8bb2\u5230\uff0c\u5728Linux\u7cfb\u7edf\u4e2d\u4e00\u5207\u90fd\u662f\u6587\u4ef6\uff0cLinux\u547d\u4ee4\u4e5f\u4e0d\u4f8b\u5916\u3002\u90a3\u4e48\uff0c\u5728\u7528\u6237\u6267\u884c\u4e86\u4e00\u6761\u547d\u4ee4\u4e4b\u540e\uff0cLinux\u7cfb\u7edf\u4e2d\u5230\u5e95\u53d1\u751f\u4e86\u4ec0\u4e48\u4e8b\u60c5\u5462\uff1f\u7b80\u5355\u6765\u8bf4\uff0c\u547d\u4ee4\u5728Linux\u4e2d\u7684\u6267\u884c\u5206\u4e3a4\u4e2a\u6b65\u9aa4\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b2c1\u6b65<\/strong>\uff1a\u5224\u65ad\u7528\u6237\u662f\u5426\u4ee5\u7edd\u5bf9\u8def\u5f84\u6216\u76f8\u5bf9\u8def\u5f84\u7684\u65b9\u5f0f\u8f93\u5165\u547d\u4ee4\uff08\u5982\/bin\/ls\uff09\uff0c\u5982\u679c\u662f\u7684\u8bdd\u5219\u76f4\u63a5\u6267\u884c\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b2c2\u6b65<\/strong>\uff1aLinux\u7cfb\u7edf\u68c0\u67e5\u7528\u6237\u8f93\u5165\u7684\u547d\u4ee4\u662f\u5426\u4e3a\u201c\u522b\u540d\u547d\u4ee4\u201d\uff0c\u5373\u7528\u4e00\u4e2a\u81ea\u5b9a\u4e49\u7684\u547d\u4ee4\u540d\u79f0\u6765\u66ff\u6362\u539f\u672c\u7684\u547d\u4ee4\u540d\u79f0\u3002\u53ef\u4ee5\u7528alias\u547d\u4ee4\u6765\u521b\u5efa\u4e00\u4e2a\u5c5e\u4e8e\u81ea\u5df1\u7684\u547d\u4ee4\u522b\u540d\uff0c\u683c\u5f0f\u4e3a\u201calias \u522b\u540d=\u547d\u4ee4\u201d\u3002\u82e5\u8981\u53d6\u6d88\u4e00\u4e2a\u547d\u4ee4\u522b\u540d\uff0c\u5219\u662f\u7528unalias\u547d\u4ee4\uff0c\u683c\u5f0f\u4e3a\u201cunalias \u522b\u540d\u201d\u3002\u6211\u4eec\u4e4b\u524d\u5728\u4f7f\u7528rm\u547d\u4ee4\u5220\u9664\u6587\u4ef6\u65f6\uff0cLinux\u7cfb\u7edf\u90fd\u4f1a\u8981\u6c42\u6211\u4eec\u518d\u786e\u8ba4\u662f\u5426\u6267\u884c\u5220\u9664\u64cd\u4f5c\uff0c\u5176\u5b9e\u8fd9\u5c31\u662fLinux\u7cfb\u7edf\u4e3a\u4e86\u9632\u6b62\u7528\u6237\u8bef\u5220\u9664\u6587\u4ef6\u800c\u7279\u610f\u8bbe\u7f6e\u7684rm\u522b\u540d\u547d\u4ee4\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u628a\u5b83\u53d6\u6d88\u6389\uff1a<\/p>\n<\/div>\n<div style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<div style=\"box-sizing: border-box;\">\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;ls\r\nanaconda-ks.cfg&nbsp;Documents&nbsp;initial-setup-ks.cfg&nbsp;Pictures&nbsp;Templates\r\nDesktop&nbsp;Downloads&nbsp;Music&nbsp;Public&nbsp;Videos\r\n[root@linuxprobe&nbsp;~]#&nbsp;rm&nbsp;anaconda-ks.cfg&nbsp;\r\nrm:&nbsp;remove&nbsp;regular&nbsp;file&nbsp;\u2018anaconda-ks.cfg\u2019?&nbsp;y\r\n[root@linuxprobe~]#&nbsp;alias&nbsp;rm\r\nalias&nbsp;rm=&#39;rm&nbsp;-i&#39;\r\n[root@linuxprobe&nbsp;~]#&nbsp;unalias&nbsp;rm\r\n[root@linuxprobe&nbsp;~]#&nbsp;rm&nbsp;initial-setup-ks.cfg&nbsp;\r\n[root@linuxprobe&nbsp;~]#<\/pre>\n<\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b2c3\u6b65<\/strong>\uff1aBash\u89e3\u91ca\u5668\u5224\u65ad\u7528\u6237\u8f93\u5165\u7684\u662f\u5185\u90e8\u547d\u4ee4\u8fd8\u662f\u5916\u90e8\u547d\u4ee4\u3002\u5185\u90e8\u547d\u4ee4\u662f\u89e3\u91ca\u5668\u5185\u90e8\u7684\u6307\u4ee4\uff0c\u4f1a\u88ab\u76f4\u63a5\u6267\u884c\uff1b\u800c\u7528\u6237\u5728\u7edd\u5927\u90e8\u5206\u65f6\u95f4\u8f93\u5165\u7684\u662f\u5916\u90e8\u547d\u4ee4\uff0c\u8fd9\u4e9b\u547d\u4ee4\u4ea4\u7531\u6b65\u9aa44\u7ee7\u7eed\u5904\u7406\u3002\u53ef\u4ee5\u4f7f\u7528\u201ctype\u547d\u4ee4\u540d\u79f0\u201d\u6765\u5224\u65ad\u7528\u6237\u8f93\u5165\u7684\u547d\u4ee4\u662f\u5185\u90e8\u547d\u4ee4\u8fd8\u662f\u5916\u90e8\u547d\u4ee4\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b2c4\u6b65<\/strong>\uff1a\u7cfb\u7edf\u5728\u591a\u4e2a\u8def\u5f84\u4e2d\u67e5\u627e\u7528\u6237\u8f93\u5165\u7684\u547d\u4ee4\u6587\u4ef6\uff0c\u800c\u5b9a\u4e49\u8fd9\u4e9b\u8def\u5f84\u7684\u53d8\u91cf\u53eb\u4f5cPATH\uff0c\u53ef\u4ee5\u7b80\u5355\u5730\u628a\u5b83\u7406\u89e3\u6210\u662f\u201c\u89e3\u91ca\u5668\u7684\u5c0f\u52a9\u624b\u201d\uff0c\u4f5c\u7528\u662f\u544a\u8bc9Bash\u89e3\u91ca\u5668\u5f85\u6267\u884c\u7684\u547d\u4ee4\u53ef\u80fd\u5b58\u653e\u7684\u4f4d\u7f6e\uff0c\u7136\u540eBash\u89e3\u91ca\u5668\u5c31\u4f1a\u4e56\u4e56\u5730\u5728\u8fd9\u4e9b\u4f4d\u7f6e\u4e2d\u9010\u4e2a\u67e5\u627e\u3002PATH\u662f\u7531\u591a\u4e2a\u8def\u5f84\u503c\u7ec4\u6210\u7684\u53d8\u91cf\uff0c\u6bcf\u4e2a\u8def\u5f84\u503c\u4e4b\u95f4\u7528\u5192\u53f7\u95f4\u9694\uff0c\u5bf9\u8fd9\u4e9b\u8def\u5f84\u7684\u589e\u52a0\u548c\u5220\u9664\u64cd\u4f5c\u5c06\u5f71\u54cd\u5230Bash\u89e3\u91ca\u5668\u5bf9Linux\u547d\u4ee4\u7684\u67e5\u627e\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;$PATH\r\n\/usr\/local\/bin:\/usr\/local\/sbin:\/usr\/bin:\/usr\/sbin:\/bin:\/sbin\r\n[root@linuxprobe&nbsp;~]#&nbsp;PATH=$PATH:\/root\/bin[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;$PATH\r\n\/usr\/local\/bin:\/usr\/local\/sbin:\/usr\/bin:\/usr\/sbin:\/bin:\/sbin:\/root\/bin<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u8fd9\u91cc\u6709\u6bd4\u8f83\u7ecf\u5178\u7684\u95ee\u9898\uff1a\u201c\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u5c06\u5f53\u524d\u76ee\u5f55\uff08.\uff09\u6dfb\u52a0\u5230PATH\u4e2d\u5462? \u201d \u539f\u56e0\u662f\uff0c\u5c3d\u7ba1\u53ef\u4ee5\u5c06\u5f53\u524d\u76ee\u5f55\uff08.\uff09\u6dfb\u52a0\u5230PATH\u53d8\u91cf\u4e2d\uff0c\u4ece\u800c\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u53ef\u4ee5\u8ba9\u7528\u6237\u514d\u53bb\u8f93\u5165\u547d\u4ee4\u6240\u5728\u8def\u5f84\u7684\u9ebb\u70e6\u3002\u4f46\u662f\uff0c\u5982\u679c\u9ed1\u5ba2\u5728\u6bd4\u8f83\u5e38\u7528\u7684\u516c\u5171\u76ee\u5f55\/tmp\u4e2d\u5b58\u653e\u4e86\u4e00\u4e2a\u4e0els\u6216cd\u547d\u4ee4\u540c\u540d\u7684\u6728\u9a6c\u6587\u4ef6\uff0c\u800c\u7528\u6237\u53c8\u6070\u5de7\u5728\u516c\u5171\u76ee\u5f55\u4e2d\u6267\u884c\u4e86\u8fd9\u4e9b\u547d\u4ee4\uff0c\u90a3\u4e48\u5c31\u6781\u6709\u53ef\u80fd\u4e2d\u62db\u4e86\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u6240\u4ee5\uff0c\u4f5c\u4e3a\u4e00\u540d\u6001\u5ea6\u8c28\u614e\u3001\u6709\u7ecf\u9a8c\u7684\u8fd0\u7ef4\u4eba\u5458\uff0c\u5728\u63a5\u624b\u4e86\u4e00\u53f0Linux\u7cfb\u7edf\u540e\u4e00\u5b9a\u4f1a\u5728\u6267\u884c\u547d\u4ee4\u524d\u5148\u68c0\u67e5PATH\u53d8\u91cf\u4e2d\u662f\u5426\u6709\u53ef\u7591\u7684\u76ee\u5f55\uff0c\u53e6\u5916\u8bfb\u8005\u4ece\u524d\u9762\u7684PATH\u53d8\u91cf\u793a\u4f8b\u4e2d\u662f\u5426\u4e5f\u611f\u89c9\u5230\u73af\u5883\u53d8\u91cf\u7279\u522b\u6709\u7528\u5462\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528env\u547d\u4ee4\u6765\u67e5\u770b\u5230Linux\u7cfb\u7edf\u4e2d\u6240\u6709\u7684\u73af\u5883\u53d8\u91cf\uff0c\u800c\u5218\u9044\u8001\u5e08\u4e3a\u60a8\u7cbe\u6311\u7ec6\u9009\u51fa\u4e86\u6700\u91cd\u8981\u768410\u4e2a\u73af\u5883\u53d8\u91cf\uff0c\u5982\u88683-3\u6240\u793a\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u88683-3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Linux\u7cfb\u7edf\u4e2d\u6700\u91cd\u8981\u768410\u4e2a\u73af\u5883\u53d8\u91cf<\/p>\n<table id=\"tablepress-33\" class=\"tablepress tablepress-id-33\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u53d8\u91cf\u540d\u79f0<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4f5c\u7528<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">HOME<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u7528\u6237\u7684\u4e3b\u76ee\u5f55\uff08\u5373\u5bb6\u76ee\u5f55\uff09<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">SHELL<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u7528\u6237\u5728\u4f7f\u7528\u7684Shell\u89e3\u91ca\u5668\u540d\u79f0<\/td>\n<\/tr>\n<tr class=\"row-4 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">HISTSIZE<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u8f93\u51fa\u7684\u5386\u53f2\u547d\u4ee4\u8bb0\u5f55\u6761\u6570<\/td>\n<\/tr>\n<tr class=\"row-5 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">HISTFILESIZE<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4fdd\u5b58\u7684\u5386\u53f2\u547d\u4ee4\u8bb0\u5f55\u6761\u6570<\/td>\n<\/tr>\n<tr class=\"row-6 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">MAIL<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u90ae\u4ef6\u4fdd\u5b58\u8def\u5f84<\/td>\n<\/tr>\n<tr class=\"row-7 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">LANG<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u7cfb\u7edf\u8bed\u8a00\u3001\u8bed\u7cfb\u540d\u79f0<\/td>\n<\/tr>\n<tr class=\"row-8 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">RANDOM<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u751f\u6210\u4e00\u4e2a\u968f\u673a\u6570\u5b57<\/td>\n<\/tr>\n<tr class=\"row-9 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">PS1<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">Bash\u89e3\u91ca\u5668\u7684\u63d0\u793a\u7b26<\/td>\n<\/tr>\n<tr class=\"row-10 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">PATH<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5b9a\u4e49\u89e3\u91ca\u5668\u641c\u7d22\u7528\u6237\u6267\u884c\u547d\u4ee4\u7684\u8def\u5f84<\/td>\n<\/tr>\n<tr class=\"row-11 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">EDITOR<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u7528\u6237\u9ed8\u8ba4\u7684\u6587\u672c\u7f16\u8f91\u5668<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">Linux\u4f5c\u4e3a\u4e00\u4e2a\u591a\u7528\u6237\u591a\u4efb\u52a1\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u80fd\u591f\u4e3a\u6bcf\u4e2a\u7528\u6237\u63d0\u4f9b\u72ec\u7acb\u7684\u3001\u5408\u9002\u7684\u5de5\u4f5c\u8fd0\u884c\u73af\u5883\uff0c\u56e0\u6b64\uff0c\u4e00\u4e2a\u76f8\u540c\u7684\u53d8\u91cf\u4f1a\u56e0\u4e3a\u7528\u6237\u8eab\u4efd\u7684\u4e0d\u540c\u800c\u5177\u6709\u4e0d\u540c\u7684\u503c\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u4f7f\u7528\u4e0b\u8ff0\u547d\u4ee4\u6765\u67e5\u770bHOME\u53d8\u91cf\u5728\u4e0d\u540c\u7528\u6237\u8eab\u4efd\u4e0b\u90fd\u6709\u54ea\u4e9b\u503c\uff08su\u662f\u7528\u4e8e\u5207\u6362\u7528\u6237\u8eab\u4efd\u7684\u547d\u4ee4\uff0c\u5c06\u5728\u7b2c5\u7ae0\u8ddf\u5927\u5bb6\u89c1\u9762\uff09\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;$HOME\r\n\/root\r\n[root@linuxprobe&nbsp;~]#&nbsp;su&nbsp;-&nbsp;linuxprobe\r\nLast&nbsp;login:&nbsp;Fri&nbsp;Feb&nbsp;27&nbsp;19:49:57&nbsp;CST&nbsp;2017&nbsp;on&nbsp;pts\/0\r\n[linuxprobe@linuxprobe&nbsp;~]$&nbsp;echo&nbsp;$HOME\r\n\/home\/linuxprobe<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5176\u5b9e\u53d8\u91cf\u662f\u7531\u56fa\u5b9a\u7684\u53d8\u91cf\u540d\u4e0e\u7528\u6237\u6216\u7cfb\u7edf\u8bbe\u7f6e\u7684\u53d8\u91cf\u503c\u4e24\u90e8\u5206\u7ec4\u6210\u7684\uff0c\u6211\u4eec\u5b8c\u5168\u53ef\u4ee5\u81ea\u884c\u521b\u5efa\u53d8\u91cf\uff0c\u6765\u6ee1\u8db3\u5de5\u4f5c\u9700\u6c42\u3002\u4f8b\u5982\u8bbe\u7f6e\u4e00\u4e2a\u540d\u79f0\u4e3aWORKDIR\u7684\u53d8\u91cf\uff0c\u65b9\u4fbf\u7528\u6237\u66f4\u8f7b\u677e\u5730\u8fdb\u5165\u4e00\u4e2a\u5c42\u6b21\u8f83\u6df1\u7684\u76ee\u5f55\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;mkdir&nbsp;\/home\/workdir\r\n[root@linuxprobe&nbsp;~]#&nbsp;WORKDIR=\/home\/workdir\r\n[root@linuxprobe&nbsp;~]#&nbsp;cd&nbsp;$WORKDIR&nbsp;\r\n[root@linuxprobe&nbsp;workdir]#&nbsp;pwd\r\n\/home\/workdir<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u4f46\u662f\uff0c\u8fd9\u6837\u7684\u53d8\u91cf\u4e0d\u5177\u6709\u5168\u5c40\u6027\uff0c\u4f5c\u7528\u8303\u56f4\u4e5f\u6709\u9650\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4e0d\u80fd\u88ab\u5176\u4ed6\u7528\u6237\u4f7f\u7528\u3002\u5982\u679c\u5de5\u4f5c\u9700\u8981\uff0c\u53ef\u4ee5\u4f7f\u7528export\u547d\u4ee4\u5c06\u5176\u63d0\u5347\u4e3a\u5168\u5c40\u53d8\u91cf\uff0c\u8fd9\u6837\u5176\u4ed6\u7528\u6237\u4e5f\u5c31\u53ef\u4ee5\u4f7f\u7528\u5b83\u4e86\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;workdir]#&nbsp;su&nbsp;linuxprobe\r\nLast&nbsp;login:&nbsp;Fri&nbsp;Mar&nbsp;20&nbsp;20:52:10&nbsp;CST&nbsp;2017&nbsp;on&nbsp;pts\/0\r\n[linuxprobe@linuxprobe&nbsp;~]$&nbsp;cd&nbsp;$WORKDIR\r\n[linuxprobe@linuxprobe&nbsp;~]$&nbsp;echo&nbsp;$WORKDIR\r\n[linuxprobe@linuxprobe&nbsp;~]$&nbsp;exit\r\n[root@linuxprobe&nbsp;~]#&nbsp;export&nbsp;WORKDIR[root@linuxprobe&nbsp;~]#&nbsp;su&nbsp;linuxprobe\r\nLast&nbsp;login:&nbsp;Fri&nbsp;Mar&nbsp;20&nbsp;21:52:10&nbsp;CST&nbsp;2017&nbsp;on&nbsp;pts\/0\r\n[linuxprobe@linuxprobe&nbsp;~]$&nbsp;cd&nbsp;$WORKDIR\r\n[linuxprobe@linuxprobe&nbsp;workdir]$&nbsp;pwd\r\n\/home\/workdir<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><span style=\"box-sizing: border-box; color: #800080;\"><strong style=\"box-sizing: border-box;\">\u51fa\u73b0\u95ee\u9898?\u5927\u80c6\u63d0\u95ee!<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: center;\"><span style=\"box-sizing: border-box; color: #800080;\"><strong style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\">\u672c\u7ae0\u8282\u7684\u590d\u4e60\u4f5c\u4e1a<\/span><\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">1\uff0e\u628als\u547d\u4ee4\u7684\u6b63\u5e38\u8f93\u51fa\u4fe1\u606f\u8ffd\u52a0\u5199\u5165\u5230error.txt\u6587\u4ef6\u4e2d\u7684\u547d\u4ee4\u662f\u4ec0\u4e48\uff1f<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">ls &gt;&gt; error.txt<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">2\uff0e\u8bf7\u7b80\u5355\u6982\u8ff0\u7ba1\u9053\u7b26\u7684\u4f5c\u7528\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">\u628a\u5de6\u9762\uff08\u524d\u9762\uff09\u547d\u4ee4\u7684\u8f93\u51fa\u503c\u4f5c\u4e3a\u53f3\u9762\uff08\u540e\u9762\uff09\u547d\u4ee4\u7684\u8f93\u5165\u503c\u4ee5\u4fbf\u8fdb\u4e00\u6b65\u5904\u7406\u4fe1\u606f\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">3\uff0eBash\u89e3\u91ca\u5668\u7684\u901a\u914d\u7b26\u4e2d\uff0c\u661f\u53f7\uff08*\uff09\u4ee3\u8868\u51e0\u4e2a\u5b57\u7b26\uff1f<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">\u96f6\u4e2a\u6216\u591a\u4e2a\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">4\uff0ePATH\u53d8\u91cf\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\uff1f<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">\u8bbe\u5b9a\u89e3\u91ca\u5668\u641c\u7d22\u6240\u6267\u884c\u7684\u547d\u4ee4\u7684\u8def\u5f84\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">5\uff0e\u4f7f\u7528\u4ec0\u4e48\u547d\u4ee4\u53ef\u4ee5\u628a\u540d\u4e3aLINUX\u7684\u4e00\u822c\u53d8\u91cf\u8f6c\u6362\u6210\u5168\u5c40\u53d8\u91cf\uff1f<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">export LINUX\u3002<\/span><\/p>\n<\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; color: rgb(136, 166, 164); background-color: rgb(255, 255, 255);\">\u672c\u6587\u539f\u521b\u5730\u5740\uff1a<a href=\"https:\/\/www.linuxprobe.com\/chapter-03.html\" target=\"_blank\" style=\"box-sizing: border-box; color: rgb(210, 50, 45); text-decoration: none;\" rel=\"noopener noreferrer\">https:\/\/www.linuxprobe.com\/chapter-03.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u63a8\u8350\u7b80\u8ff0\uff1a \u8bf4\u5230Linux\u7cfb\u7edf\u4ece01\u5e74\u5f00\u59cb\u6211\u5c31\u4e00\u76f4\u5728\u63a5\u89e6\uff0c\u76f4\u523003\u5e74\u8fd8\u662f04\u5e74\u7684\u65f6\u5019\u5728\u60e0\u5dde\u65b0\u534e\u4e66\u5e97\u4e70\u4e86\u4e00\u672c\u300a\u9e1f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[35,442],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-1","tag-linux","tag-442"],"_links":{"self":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=48"}],"version-history":[{"count":1,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":3445,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions\/3445"}],"wp:attachment":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}