{"id":5348,"date":"2019-10-30T19:08:27","date_gmt":"2019-10-30T11:08:27","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5348"},"modified":"2019-10-30T19:08:28","modified_gmt":"2019-10-30T11:08:28","slug":"manpath","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/manpath","title":{"rendered":"manpath\u547d\u4ee4 – \u67e5\u770bman\u624b\u518c\u9875\u7684\u67e5\u8be2\u8def\u5f84"},"content":{"rendered":"\n

\u4f7f\u7528manpath\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u548c\u8bbe\u7f6eman\u624b\u518c\u9875\u7684\u67e5\u8be2\u8def\u5f84\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>manpath [\u53c2\u6570] [\u540d\u79f0]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-a<\/td>\u627e\u5230\u6240\u6709\u5339\u914d\u7684\u6761\u76ee<\/td><\/tr>
-c<\/td>\u4e0d\u4f7f\u7528cat\u6587\u4ef6<\/td><\/tr>
-d <\/td>\u663e\u793a\u8c03\u8bd5\u4fe1\u606f\u7684\u91c7\u7a7a\u533a<\/td><\/tr>
-w<\/td>\u7c7b\u4f3c\u4e8e-w\u9009\u9879\uff0c\u4f46\u662f\u53ea\u663e\u793a\u6587\u4ef6\u540d<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u67e5\u770bman\u624b\u518c\u9875\u7684\u67e5\u8be2\u8def\u5f84\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# manpath <\/pre>\n\n\n\n

\u8bbe\u7f6eman\u624b\u518c\u9875\u7684\u67e5\u8be2\u8def\u5f84\u4e3a\/home\u76ee\u5f55\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# manpath -M \/home<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u4f7f\u7528manpath\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u548c\u8bbe\u7f6eman\u624b\u518c\u9875\u7684\u67e5\u8be2\u8def\u5f84\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1amanpath [\u53c2\u6570] [\u540d\u79f0] \u5e38 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5348"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5348"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5348\/revisions"}],"predecessor-version":[{"id":5355,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5348\/revisions\/5355"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}