<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Tech-Recipes - Latest Comments in OS X: Change your PATH environment variable | Mac system administration | Tech-Recipes</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><language>en</language><lastBuildDate>Sun, 04 Oct 2009 09:54:26 -0000</lastBuildDate><item><title>Re: OS X: Change your PATH environment variable | Mac system administration | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/#comment-18470232</link><description>In my case, I need to add a directory to the path for both myself and for www-data. Is there a variation for adding the dir in /etc/profile?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Amgine</dc:creator><pubDate>Sun, 04 Oct 2009 09:54:26 -0000</pubDate></item><item><title>Re: OS X: Change your PATH environment variable | Mac system administration | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/#comment-12167739</link><description>Thanks mate,&lt;br&gt;Just what I was looking for. It seemed to be a different way of doing things in Leopard than previous versions.&lt;br&gt;Cheers,&lt;br&gt;Mitch</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mitch</dc:creator><pubDate>Sun, 05 Jul 2009 02:53:59 -0000</pubDate></item><item><title>Re: OS X: Change your PATH environment variable | Mac system administration | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/#comment-8094104</link><description>normal i would add an exra PATH in /etc/profile</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">marcel</dc:creator><pubDate>Sun, 12 Apr 2009 07:21:21 -0000</pubDate></item><item><title>Re: OS X: Change your PATH environment variable | Mac system administration | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/#comment-7833853</link><description>david:  it's ok to have the same elements of a path variable in your path more than once; in some cases it is necessary.  As far as how to give one path priority over another, just make the one you want to load come first (reading left to right) in your PATH variable.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tombeek</dc:creator><pubDate>Sat, 04 Apr 2009 18:24:40 -0000</pubDate></item><item><title>Re: OS X: Change your PATH environment variable | Mac system administration | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/#comment-6988792</link><description>I have a question:  When I "echo $PATH" or type "env" which shows the same path I assume, I'm given a path that has a bunch of variables, namely /usr/bin/:/usr/bin/sbin, etc etc that I can't seem to find in my path files.  Not in ~/.bashrc, ~/.profile, or anywhere else I've looked...where do those variables reside.  I really just want to switch the order of /usr/bin and /usr/local/bin so my /usr/local/bin python2.6 install default starts instead of the version 2.5 that ships with Mac.  &lt;br&gt;&lt;br&gt;Hope that's not too confusing, I don't think it is.&lt;br&gt;&lt;br&gt;Thanks for the otherwise helpful information...after adding a ~/.profile I noticed that the PATH in there precedes the other PATH attributes mentioned above so temporarily I've tacked /usr/local/bin on there and it works how I want...but now I have /usr/local/bin on the PATH twice and would like to remedy that.&lt;br&gt;&lt;br&gt;Cheers</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">david</dc:creator><pubDate>Sun, 08 Mar 2009 04:44:00 -0000</pubDate></item></channel></rss>