{"id":80,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=80"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"modify-your-path","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=80","title":{"rendered":"Modify your path"},"content":{"rendered":"<p>If you type a command into Terminal, where does it look for the program you&#8217;ve specified? The system looks in a set of directories established in your <b>PATH<\/b> statement. A number of directories are specified in the default path as soon as you boot BeOS. But what if you want to add to that list?<br \/>\n To see a list of directories comprising your current path, type <code>$PATH<\/code> . To add to that list, type <code>export PATH=\/boot\/NewDirectoryName:$PATH<\/code>. Now check your path again, and you&#8217;ll see that the new directory has been added to the list.<br \/>\n Want to make the change permanent? Just add the export line to your <code>\/boot\/ home\/.profile<\/code> or <code>\/boot\/home\/config\/boot\/UserSetupEnvironment<\/code> (preferably the latter).<br \/>\nAfter first editing either of these, you&#8217;ll need to have them read back into memory:<\/p>\n<pre>\nsource ~\/.profile\nsource ~\/config\/boot\/UserSetupEnvironment\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you type a command into Terminal, where does it look for the program you&#8217;ve specified? The system looks in a set of directories established in your PATH statement. A number of directories are specified in the default path as soon as you boot BeOS. But what if you want to add to that list? [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[8],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","tag-misc"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=80"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}