{"id":8297,"date":"2024-04-24T14:01:01","date_gmt":"2024-04-24T06:01:01","guid":{"rendered":""},"modified":"2024-04-24T14:01:01","modified_gmt":"2024-04-24T06:01:01","slug":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3","status":"publish","type":"post","link":"https:\/\/mushiming.com\/8297.html","title":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3"},"content":{"rendered":"
\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053, \u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git, \u8f93\u5165<\/p>\n
sudo apt install git -y<\/code><\/code><\/pre>\n\u56de\u8f66,\u8fd0\u884c\u5b8c\u6210\u540e,\u5c31\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528git\u547d\u4ee4\u4e86<\/p>\n<\/span>git\u5982\u4f55\u5728\u547d\u4ee4\u884c\u4e2d\u751f\u6548?<\/span><\/h3>\n\u6211\u4eec\u5148\u67e5\u770bgit\u7684\u5b89\u88c5\u4f4d\u7f6e<\/p>\nwhich git<\/code><\/code><\/pre>\n\n \n <\/figure>\ngit\u88ab\u5b89\u88c5\u5230\u4e86\/usr\/bin<\/code> \u76ee\u5f55\u4e0b<\/p>\n\u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u90fd\u53ef\u4ee5\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230, \u6bd4\u5982\u6211\u4eec\u5e38\u7528\u7684\u62f7\u8d1d\u547d\u4ee4<\/strong>cp<\/code>\u548c \u79fb\u52a8\u547d\u4ee4<\/strong>mv<\/code> \u90fd\u5b58\u50a8\u5728\/usr\/bin<\/code> \u4e2d<\/p>\n\n \n <\/figure>\n\u731c\u6d4b<\/strong>: \u5728\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u56de\u8f66,\u8fd0\u884c\u5b8c\u6210\u540e,\u5c31\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528git\u547d\u4ee4\u4e86<\/p>\n
\u6211\u4eec\u5148\u67e5\u770bgit\u7684\u5b89\u88c5\u4f4d\u7f6e<\/p>\n
which git<\/code><\/code><\/pre>\n\n \n <\/figure>\ngit\u88ab\u5b89\u88c5\u5230\u4e86\/usr\/bin<\/code> \u76ee\u5f55\u4e0b<\/p>\n\u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u90fd\u53ef\u4ee5\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230, \u6bd4\u5982\u6211\u4eec\u5e38\u7528\u7684\u62f7\u8d1d\u547d\u4ee4<\/strong>cp<\/code>\u548c \u79fb\u52a8\u547d\u4ee4<\/strong>mv<\/code> \u90fd\u5b58\u50a8\u5728\/usr\/bin<\/code> \u4e2d<\/p>\n\n \n <\/figure>\n\u731c\u6d4b<\/strong>: \u5728\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
git\u88ab\u5b89\u88c5\u5230\u4e86\/usr\/bin<\/code> \u76ee\u5f55\u4e0b<\/p>\n\u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u90fd\u53ef\u4ee5\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230, \u6bd4\u5982\u6211\u4eec\u5e38\u7528\u7684\u62f7\u8d1d\u547d\u4ee4<\/strong>cp<\/code>\u548c \u79fb\u52a8\u547d\u4ee4<\/strong>mv<\/code> \u90fd\u5b58\u50a8\u5728\/usr\/bin<\/code> \u4e2d<\/p>\n\n \n <\/figure>\n\u731c\u6d4b<\/strong>: \u5728\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\/usr\/bin<\/code> \u76ee\u5f55\u4e0b<\/p>\n\u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u90fd\u53ef\u4ee5\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230, \u6bd4\u5982\u6211\u4eec\u5e38\u7528\u7684\u62f7\u8d1d\u547d\u4ee4<\/strong>cp<\/code>\u548c \u79fb\u52a8\u547d\u4ee4<\/strong>mv<\/code> \u90fd\u5b58\u50a8\u5728\/usr\/bin<\/code> \u4e2d<\/p>\n\n \n <\/figure>\n\u731c\u6d4b<\/strong>: \u5728\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u90fd\u53ef\u4ee5\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230, \u6bd4\u5982\u6211\u4eec\u5e38\u7528\u7684\u62f7\u8d1d\u547d\u4ee4<\/strong>cp<\/code>\u548c \u79fb\u52a8\u547d\u4ee4<\/strong>mv<\/code> \u90fd\u5b58\u50a8\u5728\/usr\/bin<\/code> \u4e2d<\/p>\n\n \n <\/figure>\n\u731c\u6d4b<\/strong>: \u5728\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u90fd\u53ef\u4ee5\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230, \u6bd4\u5982\u6211\u4eec\u5e38\u7528\u7684\u62f7\u8d1d\u547d\u4ee4<\/strong>cp<\/code>\u548c \u79fb\u52a8\u547d\u4ee4<\/strong>mv<\/code> \u90fd\u5b58\u50a8\u5728\/usr\/bin<\/code> \u4e2d<\/p>\n\n \n <\/figure>\n\u731c\u6d4b<\/strong>: \u5728\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
cp<\/code>\u548c \u79fb\u52a8\u547d\u4ee4<\/strong>mv<\/code> \u90fd\u5b58\u50a8\u5728\/usr\/bin<\/code> \u4e2d<\/p>\n\n \n <\/figure>\n\u731c\u6d4b<\/strong>: \u5728\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
mv<\/code> \u90fd\u5b58\u50a8\u5728\/usr\/bin<\/code> \u4e2d<\/p>\n\n \n <\/figure>\n\u731c\u6d4b<\/strong>: \u5728\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\/usr\/bin<\/code> \u4e2d<\/p>\n\n \n <\/figure>\n\u731c\u6d4b<\/strong>: \u5728\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u731c\u6d4b<\/strong>: \u5728\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\/usr\/bin<\/code> \u6587\u4ef6\u5939\u7684\u547d\u4ee4,\u90fd\u53ef\u4ee5\u88ab\u547d\u4ee4\u884c\u8bc6\u522b\u5e76\u751f\u6548<\/p>\n\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u9a8c\u8bc1\u731c\u6d4b,\u5728 \/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\/usr\/bin<\/code> \u76ee\u5f55\u4e0b\u65b0\u5efa\u6587\u4ef6hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
hello<\/code>, \u7ed9hello\u6dfb\u52a0\u6267\u884c\u6743\u9650chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
chmod 777 hello<\/code> ,\u5e76\u5728\u5176\u4e2d\u52a0\u5165\u4ee3\u7801 echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
echo \"hello\"<\/code>, ,\u7136\u540e\u5728\u547d\u4ee4\u884c\u8f93\u5165hello, \u67e5\u770b\u7ed3\u679c<\/p>\n\n \n <\/figure>\nhello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
hello\u88ab\u5f53\u505a\u547d\u4ee4\u987a\u5229\u6267\u884c, \u731c\u6d4b\u6210\u7acb!<\/p>\n
\u4f46\u662f...<\/strong><\/p>\n\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\/usr\/bin<\/code> \u662f\u5f88\u91cd\u8981\u7684\u76ee\u5f55, \u5185\u542b\u5927\u91cf\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>(\u5982mv, cp), \u5982\u679c\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u4e5f\u5b89\u88c5\u5230\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\/usr\/bin<\/code> \u76ee\u5f55, \u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u7cfb\u7edf\u7ea7\u547d\u4ee4<\/code>\u548c\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code> \u5c31\u5f88\u96be\u533a\u5206\u5f00, \u5f53\u4f60\u60f3\u628a\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u7b2c\u4e09\u65b9\u547d\u4ee4<\/code>\u6279\u91cf\u5206\u4eab\u51fa\u6765\u65f6, \u5c31\u9700\u8981\u5148\u4eba\u5de5\u8fdb\u884c\u7b5b\u9009,\u518d\u8fdb\u884c\u5206\u4eab,\u5f88\u4e0d\u65b9\u4fbf, \u800c\u4e14Linux\u4ee5\u7ba1\u7406\u591a\u7528\u6237\u8457\u79f0,\u5982\u679c\u6240\u6709\u7528\u6237\u90fd\u628a\u8f6f\u4ef6\u5b89\u88c5\u5230\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\/usr\/bin<\/code>, \u65e9\u665a\u4f1a\u4e71\u6210\u4e00\u9505\u7ca5.<\/p>\n<\/span>PATH\u53d8\u91cf<\/span><\/h3>\n\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u4e8b\u5b9e\u4e0a, \u5b89\u88c5\u5230\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\/usr\/bin<\/code>\u76ee\u5f55\u4e0b\u7684\u547d\u4ee4, \u662f\u901a\u8fc7PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
PATH<\/code>\u53d8\u91cf\uff0c\u88abLinux\u81ea\u7136\u800c\u7136\u5730<\/strong>\u8bc6\u522b\u5230\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
PATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u8ba9\u6587\u4ef6\u5939\u5185\u7684\u547d\u4ee4\uff0c\u4e0d\u9700\u8981\u8f93\u5165\u5b8c\u6574\u8def\u5f84\uff0c\u4ec5\u8f93\u5165\u547d\u4ee4\u540d\uff0c\u5c31\u53ef\u4ee5\u6267\u884c<\/strong>\uff0c \u6211\u4eec\u8f93\u5165git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
git<\/code> \u4e0e\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\/usr\/bin\/git<\/code> \u662f\u7b49\u6548\u7684\u3002<\/p>\nPATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
PATH<\/code>\u53d8\u91cf\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u6587\u4ef6\u5939\uff0c\u4f7f\u7528:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
:<\/code> \u5206\u9694<\/p>\n\n \n <\/figure>\n\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u4e0a\u56fe\u4e2d $PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
$PATH<\/code>\u4e2d\u7684$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
$<\/code>\u662f\u53d6\u51faPATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
PATH<\/code>\u53d8\u91cf\u7684\u8bed\u6cd5\uff0cPATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
PATH<\/code>\u53d8\u91cf\u4e0d\u5305\u542b$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
$<\/code><\/p>\n**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
**\u5b9e\u9645\u64cd\u4f5c\uff1a\u5982\u4f55\u914d\u7f6ePATH\u53d8\u91cf\uff1f**<\/p>\n
\u6211\u4eec\u4f7f\u7528\u7ed9PATH\u53d8\u91cf\u8ffd\u52a0\u6587\u4ef6\u5939\u8def\u5f84<\/strong>\u7684\u65b9\u5f0f\uff0c\u914d\u7f6ePATH\u53d8\u91cf(\u8ffd\u52a0<\/strong> \u7684\u65b9\u5f0f\u4e0d\u4f1a\u7834\u574f\u5df2\u6709\u7684PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
PATH<\/code>\u53d8\u91cf)<\/p>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528base\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
~\/.bashrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n<\/span>\u5982\u679c\u4f60\u4f7f\u7528zsh\u4f5c\u4e3a\u7ec8\u7aef\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
~\/.zshrc<\/code> \u5c3e\u90e8\u8ffd\u52a0<\/span><\/h5>\n# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
# \u4ee5 \/home\/zhaoolee\/share \u6587\u4ef6\u5939\u4e3a\u4f8bexport PATH=\/home\/zhaoolee\/share:$PATH<\/code><\/code><\/pre>\n\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u8fd9\u91cc\u6709\u4e00\u4e2a\u5c0f\u6280\u5de7\uff1a\u6211\u4eec\u628a$PATH\u653e\u5230\u5c3e\u90e8\uff0c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u653e\u5230\u524d\u9762\uff0c\u5982\u679c\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u5185\u7684\u547d\u4ee4\u4e0e\u539f\u6709\u547d\u4ee4\u5b58\u5728\u91cd\u540d(\u5728\u65b0\u6587\u4ef6\u5939\u8def\u5f84\u65b0\u589e\u6587\u4ef6hello\uff0c\u5185\u542becho \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
echo \"hello002\"<\/code>) \uff0c\u7531\u4e8e\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u6bd4\u8f83\u9760\u524d\uff0c\u5219\u7cfb\u7edf\u4f18\u5148\u4f7f\u7528\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u65b0\u6587\u4ef6\u5939\u8def\u5f84<\/code>\u4e0b\u7684\u547d\u4ee4\u3002<\/p>\n\n \n image-20201214110937213\n <\/figcaption><\/figure>\n<\/span>\u5c0f\u7ed3<\/span><\/h3>\nPATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n<\/span><\/h3>\nhttps:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n\u5f80\u671f\u63a8\u8350<\/h3>\nGo\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
PATH\u662f\u975e\u5e38\u91cd\u8981\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5b66\u4e60PATH\u7684\u4f7f\u7528\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u601d\u8def\u6e05\u6670\u7684\u89e3\u51b3\u8f6f\u4ef6\u7684\u5b89\u88c5\u914d\u7f6e\u95ee\u9898\uff0c\u4e5f\u80fd\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u3002<\/p>\n
https:\/\/www.v2fy.com\/p\/2020-12-14-path\/<\/p>\n
Go\u8bed\u8a00\u7f51\u7edc\u7f16\u7a0b\u5165\u95e8\u4e0d\u8d70\u5f2f\u8def\u6700\u4f73\u6848\u4f8b(\u5199Api\u63a5\u53e3)<\/p>\n
\u63a8\u8350Parallels Desktop\u865a\u62df\u673a\u4e0d\u4e3a\u4eba\u77e5\u7684\u4f18\u8d28\u529f\u80fd\uff1a\u7aef\u53e3\u6620\u5c04<\/p>\n
\u53ef\u66ff\u4ee3TeamView\u7684\u514d\u8d39\u8fdc\u7a0b\u63a7\u5236\u8f6f\u4ef6ToDesk<\/p>\n
\u70b9\u51fb\u6587\u672b \u9605\u8bfb\u539f\u6587<\/strong> <\/strong><\/p>\n\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u67e5\u770b \u672c\u6587\u5b8c\u6574\u7248<\/strong> \u770b\u7559\u8a00 <\/strong>\u5199\u8bc4\u8bba<\/strong> \ud83d\ude42<\/strong><\/p>\n<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"path\u8def\u5f84\u524d\u9762\u6709\u4e2alre_\u8ba9Linux\/Mac\u7cfb\u7edf\u73af\u5883\u66f4\u5e72\u51c0\u4e4bPATH\u53d8\u91cf\u8be6\u89e3\u73a9Linux\u4e00\u5b9a\u4f1a\u548c\u547d\u4ee4\u884c\u6253\u4ea4\u9053,\u6bd4\u5982\u5728Ubuntu\u4e2d\u5b89\u88c5git,\u8f93\u5165sudo...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8297"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}