{"id":18511,"date":"2014-10-10T06:36:59","date_gmt":"2014-10-09T22:36:59","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/10\/10\/linux-%e5%9f%ba%e7%a4%8e-%e5%a2%9e%e5%8a%a0%e5%8f%af%e4%bb%a5%e5%9f%b7%e8%a1%8c%e7%a8%8b%e5%bc%8f%e7%9a%84%e8%b7%af%e5%be%91\/"},"modified":"2014-10-10T06:36:59","modified_gmt":"2014-10-09T22:36:59","slug":"linux-%e5%9f%ba%e7%a4%8e-%e5%a2%9e%e5%8a%a0%e5%8f%af%e4%bb%a5%e5%9f%b7%e8%a1%8c%e7%a8%8b%e5%bc%8f%e7%9a%84%e8%b7%af%e5%be%91","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/10\/10\/linux-%e5%9f%ba%e7%a4%8e-%e5%a2%9e%e5%8a%a0%e5%8f%af%e4%bb%a5%e5%9f%b7%e8%a1%8c%e7%a8%8b%e5%bc%8f%e7%9a%84%e8%b7%af%e5%be%91\/","title":{"rendered":"Linux \u57fa\u790e &#8211; \u589e\u52a0\u53ef\u4ee5\u57f7\u884c\u7a0b\u5f0f\u7684\u8def\u5f91"},"content":{"rendered":"<p>\u5728 Raspberry Pi \u9810\u8a2d\u7a0b\u5f0f\u53ef\u4ee5\u57f7\u884c\u7684\u8def\u5f91<br \/>$ <span style=\"color: #ff0000;\">echo $PATH<\/span><br \/><span style=\"color: #0000ff;\">\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin:\/usr\/local\/games:\/usr\/games<\/span><\/p>\n<p>\u8b93\u4f7f\u7528\u8005\u5bb6\u76ee\u9304\u4e0b\u7684 bin\u00a0\u4e5f\u52a0\u5165\u8def\u5f91\u4e4b\u4e2d<br \/>$ <span style=\"color: #ff0000;\">sed -i &#8216;$aPATH=&#8221;$PATH:$HOME\/bin&#8221;&#8216; &gt;&gt; $HOME\/.profile<\/span><br \/>$ <span style=\"color: #ff0000;\">sed -i &#8216;$aexport PATH&#8217; &gt;&gt; $HOME\/.profile<\/span><\/p>\n<p>\u57f7\u884c <br \/>$ <span style=\"color: #ff0000;\">source $HOME\/.profile<\/span><br \/>\u6216\u91cd\u65b0\u767b\u51fa\u518d\u884c\u767b\u5165\u5373\u53ef<\/p>\n<p>$ <span style=\"color: #ff0000;\">echo $PATH<\/span><br \/><span style=\"color: #0000ff;\">\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin:\/usr\/local\/games:\/usr\/games:\/home\/pi\/bin<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Raspberry Pi \u9810\u8a2d\u7a0b\u5f0f\u53ef\u4ee5\u57f7\u884c\u7684\u8def\u5f91$ echo $PATH\/usr\/local\/sbin:\/ &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/10\/10\/linux-%e5%9f%ba%e7%a4%8e-%e5%a2%9e%e5%8a%a0%e5%8f%af%e4%bb%a5%e5%9f%b7%e8%a1%8c%e7%a8%8b%e5%bc%8f%e7%9a%84%e8%b7%af%e5%be%91\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Linux \u57fa\u790e &#8211; \u589e\u52a0\u53ef\u4ee5\u57f7\u884c\u7a0b\u5f0f\u7684\u8def\u5f91\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[109],"tags":[],"class_list":["post-18511","post","type-post","status-publish","format-standard","hentry","category-c-72384"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["519434"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18511"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=18511"}],"version-history":[{"count":0,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18511\/revisions"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=18511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=18511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=18511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}