{"id":294311,"date":"2024-11-12T12:15:44","date_gmt":"2024-11-12T04:15:44","guid":{"rendered":"https:\/\/lrxjmw.cn\/lmlhzbldsyff.html"},"modified":"2024-11-12T12:15:44","modified_gmt":"2024-11-12T04:15:44","slug":"lmlhzbldsyff","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lmlhzbldsyff.html","title":{"rendered":"Linux \u547d\u4ee4\u884c\u4e2d\u53d8\u91cf\u7684\u4f7f\u7528\u65b9\u6cd5\u53ca\u89c4\u8303"},"content":{"rendered":"
Linux<\/a>\u547d\u4ee4<\/a>\u884c\u529f\u80fd\u5f3a\u5927\uff0c\u4e0d\u8fc7\u6709\u4e9b\u65b0\u624b\u53ef\u80fd\u4f1a\u5bf9\u5176\u80fd\u5426\u4f7f\u7528\u53d8\u91cf<\/a>\u611f\u5230\u56f0\u60d1\u3002\u5b9e\u9645\u4e0a\uff0c\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u547d\u4ee4\u662f\u53ef\u4ee5\u4f7f\u7528\u53d8\u91cf\u7684\u3002\u53d8\u91cf\u7684\u8fd0\u7528\u5927\u5927\u63d0\u5347\u4e86\u64cd\u4f5c\u7684\u7075\u6d3b\u6027\u548c\u91cd\u590d\u4f7f\u7528\u6027\u3002<\/p>\n \u5b9a\u4e49\u53d8\u91cf\u7684\u683c\u5f0f<\/b><\/p>\n \u5728Linux\u7684\u547d\u4ee4\u884c\u91cc\uff0c\u8bbe\u7f6e\u53d8\u91cf\u65e2\u7b80\u5355\u53c8\u76f4\u63a5\u3002\u6bd4\u5982\uff0c\u4f60\u53ef\u4ee5\u8fd9\u6837\u5199\uff1a\u201cname=value\u201d\uff0c\u5176\u4e2d\u201cname\u201d\u4ee3\u8868\u53d8\u91cf\u540d\uff0c\u201cvalue\u201d\u5219\u662f\u5b83\u7684\u503c\u3002\u4f8b\u5982\uff0c\u8981\u521b\u5efa\u4e00\u4e2a\u53eb\u201cnum\u201d\u7684\u53d8\u91cf\uff0c\u5e76\u7ed9\u5b83\u8d4b\u503c\u4e3a10\uff0c\u4f60\u53ef\u4ee5\u8f93\u5165\u201cnum=10\u201d\u3002\u8fd9\u5c31\u662f\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u3002\u6b64\u5916\uff0c\u53d8\u91cf\u540d\u7684\u8bbe\u5b9a\u4e5f\u6709\u4e00\u5b9a\u7684\u89c4\u8303\uff0c\u4e0d\u80fd\u4ee5\u6570\u5b57\u5f00\u5934\uff0c\u4e5f\u4e0d\u80fd\u5305\u542b\u8bf8\u5982\u7a7a\u683c\u5728\u5185\u7684\u7279\u6b8a\u7b26\u53f7\u3002\u8fd9\u6837\u505a\u53ef\u4ee5\u8ba9\u7cfb\u7edf\u66f4\u51c6\u786e\u5730\u8bc6\u522b\u548c\u64cd\u4f5c\u8fd9\u4e9b\u53d8\u91cf\u3002<\/p>\n \u53d8\u91cf\u5728\u547d\u4ee4\u64cd\u4f5c\u4e2d\u5e38\u7528\u4e8e\u6574\u5408\u6307\u4ee4\u3002\u4ee5\u6587\u4ef6\u8def\u5f84\u53d8\u91cf\u201cpath=\/home\/user\/docs\u201d\u4e3a\u4f8b\uff0c\u5728\u547d\u4ee4\u4e2d\u5f15\u7528\u5b83\u865a\u62df\u4e3b\u673a linux\uff0c\u5982\u201cls$path\u201d\uff0c\u4fbf\u80fd\u663e\u793a\u8be5\u8def\u5f84\u4e0b\u7684\u6240\u6709\u6587\u4ef6\u3002\u82e5\u8def\u5f84\u9700\u8c03\u6574\uff0c\u53ea\u9700\u66f4\u65b0\u53d8\u91cf\u7684\u6570\u503c\uff0c\u65e0\u9700\u9010\u4e2a\u4fee\u6539\u547d\u4ee4\u5185\u5bb9\u3002<\/p>\n \u73af\u5883\u53d8\u91cf\u7684\u7279\u6b8a\u610f\u4e49<\/b><\/p>\n \u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u73af\u5883\u53d8\u91cf\u4eab\u6709\u7279\u6b8a\u5730\u4f4d\u3002\u8fd9\u4e9b\u53d8\u91cf\u662f\u7cfb\u7edf\u9884\u5148\u8bbe\u5b9a\u5d4c\u5165\u5f0flinux\u57f9\u8bad\uff0c\u7528\u4ee5\u4fdd\u5b58\u4e0e\u7cfb\u7edf\u76f8\u5173\u7684\u4fe1\u606f\u3002\u6bd4\u5982\uff0c\u201cPATH\u201d\u53d8\u91cf\uff0c\u5b83\u8d1f\u8d23\u5b58\u50a8\u4e00\u7cfb\u5217\u76ee\u5f55\u3002\u5f53\u7cfb\u7edf\u6267\u884c\u547d\u4ee4\u65f6\uff0c\u4f1a\u4f9d\u6b21\u5728\u8fd9\u4e9b\u76ee\u5f55\u4e2d\u5bfb\u627e\u76f8\u5e94\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u5f53\u6211\u4eec\u8f93\u5165\u201cls\u201d\u547d\u4ee4\uff0c\u7cfb\u7edf\u4fbf\u4f1a\u4f9d\u636ePATH\u53d8\u91cf\u4e2d\u7684\u76ee\u5f55\u987a\u5e8f\uff0c\u9010\u4e00\u67e5\u627e\u540d\u4e3als\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n \u7528\u6237\u53ef\u4ee5\u81ea\u884c\u6dfb\u52a0\u6216\u4fee\u6539\u73af\u5883\u53d8\u91cf\u3002\u82e5\u67d0\u81ea\u5b9a\u4e49\u811a\u672c\u5b58\u653e\u5728\u975e\u6807\u51c6\u76ee\u5f55\uff0c\u4e3a\u4e86\u4f7f\u5176\u80fd\u5728\u5404\u5904\u8fd0\u884c\uff0c\u53ef\u5c06\u8be5\u811a\u672c\u6240\u5728\u76ee\u5f55\u52a0\u5165PATH\u73af\u5883\u53d8\u91cf\u3002\u8fd9\u6837\u505a\u662f\u5bf9\u73af\u5883\u53d8\u91cf\u7684\u4e00\u79cd\u6709\u6548\u5229\u7528\u3002<\/p>\n \u53d8\u91cf\u7684\u4f5c\u7528\u57df<\/b><\/p>\n \u53d8\u91cf\u7684\u4f5c\u7528\u57df\uff0c\u8fd9\u662f\u4e00\u4e2a\u5173\u952e\u7684\u6982\u5ff5\u3002\u5728Linux\u7684\u547d\u4ee4\u884c\u4e2d\uff0c\u5c40\u90e8\u53d8\u91cf\u4ec5\u9650\u4e8e\u5f53\u524d\u4f1a\u8bdd\u6216\u811a\u672c\u5185\u90e8\u6709\u6548\u3002\u6253\u4e2a\u6bd4\u65b9\uff0c\u5982\u679c\u5728\u811a\u672c\u5185\u90e8\u5b9a\u4e49\u4e86\u4e00\u4e2a\u53d8\u91cf\uff0c\u90a3\u4e48\u5b83\u4ec5\u5728\u811a\u672c\u8fd0\u884c\u671f\u95f4\u53d1\u6325\u4f5c\u7528\u3002\u4e00\u65e6\u811a\u672c\u6267\u884c\u5b8c\u6bd5\uff0c\u8fd9\u4e2a\u53d8\u91cf\u5c31\u4e0d\u518d\u5b58\u5728\u4e86\u3002<\/p>\n <\/p>\n \u76f8\u5bf9\u800c\u8a00\uff0c\u5168\u5c40\u53d8\u91cf\u5728\u7cfb\u7edf\u6216\u591a\u4e2a\u811a\u672c\u4e2d\u5747\u80fd\u53d1\u6325\u4f5c\u7528\uff0c\u4f46\u4f7f\u7528\u65f6\u9700\u683c\u5916\u5c0f\u5fc3\u3002\u4e0d\u5f53\u4fee\u6539\u5168\u5c40\u53d8\u91cf\uff0c\u53ef\u80fd\u4f1a\u6ce2\u53ca\u7cfb\u7edf\u5176\u4ed6\u90e8\u5206\u3002\u6bd4\u5982\uff0c\u82e5\u968f\u610f\u66f4\u6539\u7cfb\u7edf\u6839\u76ee\u5f55\u53d8\u91cf\uff0c\u5c31\u53ef\u80fd\u5f15\u53d1\u7cfb\u7edf\u7ea7\u522b\u7684\u9519\u8bef\u3002\u56e0\u6b64\uff0c\u5bf9\u5f85\u5168\u5c40\u53d8\u91cf\u8981\u683c\u5916\u8c28\u614e\u3002<\/p>\n \u7528\u53d8\u91cf\u4f20\u9012\u53c2\u6570<\/b><\/p>\n <\/p>\n \u53d8\u91cf\u5728\u811a\u672c\u95f4\u4f20\u9012\u53c2\u6570\u5341\u5206\u5e38\u89c1\u3002\u8bbe\u60f3\u6709\u4e24\u4e2a\u811a\u672clinux \u547d\u4ee4\u91cc\u652f\u6301\u53d8\u91cf\u5417<\/strong>\uff0c\u5206\u522b\u662f\u811a\u672cA\u548c\u811a\u672cB\u3002\u811a\u672cA\u6267\u884c\u4e00\u7cfb\u5217\u64cd\u4f5c\uff0c\u5e76\u5c06\u7ed3\u679c\u4fdd\u5b58\u5728\u53d8\u91cf\u91cc\u3002\u63a5\u7740\uff0c\u5b83\u8c03\u7528\u811a\u672cB\uff0c\u5e76\u5c06\u53d8\u91cf\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u3002\u811a\u672cB\u63a5\u6536\u5230\u8fd9\u4e9b\u53c2\u6570\u540e\uff0c\u4f1a\u8fdb\u884c\u76f8\u5e94\u7684\u64cd\u4f5c\u3002<\/p>\n \u5728\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u8fd9\u6781\u4e3a\u5b9e\u7528\u3002\u4f8b\u5982\uff0c\u5728\u81ea\u52a8\u5316\u811a\u672c\u4e2d\uff0c\u9996\u4e2a\u811a\u672c\u4f1a\u83b7\u53d6\u786c\u76d8\u4f7f\u7528\u7387\uff0c\u5e76\u5c06\u5176\u8bbe\u5b9a\u4e3a\u53d8\u91cf\u3002\u63a5\u7740\uff0c\u5b83\u5c06\u8c03\u7528\u7b2c\u4e8c\u4e2a\u811a\u672c\u3002\u7b2c\u4e8c\u4e2a\u811a\u672c\u4f1a\u4f9d\u636e\u8fd9\u4e2a\u786c\u76d8\u4f7f\u7528\u7387\u53d8\u91cf\u8fdb\u884c\u5224\u65adlinux \u547d\u4ee4\u91cc\u652f\u6301\u53d8\u91cf\u5417<\/strong>\uff0c\u51b3\u5b9a\u662f\u5426\u9700\u8981\u6267\u884c\u53d1\u9001\u8b66\u544a\u7b49\u64cd\u4f5c\u3002<\/p>\n \u4e0d\u540c\u7c7b\u578b\u7684\u53d8\u91cf\u6570\u636e<\/b><\/p>\n Linux\u547d\u4ee4\u4e2d\uff0c\u53d8\u91cf\u80fd\u591f\u4fdd\u5b58\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\uff0c\u5e76\u4e0d\u4ec5\u9650\u4e8e\u6570\u5b57\u548c\u6587\u5b57\u3002\u6bd4\u5982\uff0c\u53ef\u4ee5\u7528\u6765\u5b58\u653e\u6570\u7ec4\uff0c\u6bd4\u5982\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u6587\u4ef6\u540d\u7684\u6570\u7ec4\u53d8\u91cf\u3002\u540c\u65f6\uff0c\u8fd8\u80fd\u5b58\u50a8\u547d\u4ee4\u7684\u8f93\u51fa\u7ed3\u679c\u3002\u6bd4\u5982\uff0c\u901a\u8fc7\u201cvar=$(date)\u201d\uff0c\u5c31\u80fd\u5c06\u5f53\u524d\u65e5\u671f\u7684\u547d\u4ee4\u6267\u884c\u7ed3\u679c\u4fdd\u5b58\u5728\u53d8\u91cfvar\u91cc\u3002\u8fd9\u6837\u7684\u529f\u80fd\u4e3a\u547d\u4ee4\u7684\u642d\u914d\u4e0e\u540e\u7eed\u5904\u7406\u63d0\u4f9b\u4e86\u66f4\u591a\u9009\u62e9\u3002<\/p>\n Linux\u547d\u4ee4\u884c\u4e2d\u7684\u53d8\u91cf\u5341\u5206\u5b9e\u7528\uff0c\u5927\u5bb6\u662f\u5426\u66fe\u5c1d\u8bd5\u5229\u7528\u53d8\u91cf\u7f16\u5199\u8fc7\u4e00\u4e9b\u5b9e\u7528\u7684\u811a\u672c\u6216\u547d\u4ee4\uff1f\u82e5\u89c9\u5f97\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\uff0c\u4e0d\u59a8\u70b9\u8d5e\u5e76\u5206\u4eab\u7ed9\u66f4\u591a\u4eba\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u5b9e\u9645\u4e0a\uff0c\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u547d\u4ee4\u662f\u53ef\u4ee5\u4f7f\u7528\u53d8\u91cf\u7684\u3002\u5728Linux\u7684\u547d\u4ee4\u884c\u91cc\uff0c\u8bbe\u7f6e\u53d8\u91cf\u65e2\u7b80\u5355\u53c8\u76f4\u63a5\u3002\u6bd4\u5982\uff0c\u901a\u8fc7\u201cvar=$(date)\u201d\uff0c\u5c31\u80fd\u5c06\u5f53\u524d\u65e5\u671f\u7684\u547d\u4ee4\u6267\u884c\u7ed3\u679c\u4fdd\u5b58\u5728\u53d8\u91cfvar\u91cc\u3002Linux\u547d\u4ee4\u884c\u4e2d\u7684\u53d8\u91cf\u5341\u5206\u5b9e\u7528\uff0c\u5927\u5bb6\u662f\u5426\u66fe\u5c1d\u8bd5\u5229\u7528\u53d8\u91cf\u7f16\u5199\u8fc7\u4e00\u4e9b\u5b9e\u7528\u7684\u811a\u672c\u6216\u547d\u4ee4\uff1f<\/p>\n","protected":false},"author":1,"featured_media":294312,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[4219,4220,124,1006,4221],"class_list":["post-294311","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-lmlh","tag-pbl-2","tag-124","tag-hjbl","tag-jbcs"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=294311"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294311\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294312"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}