<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Setting Path in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201178#M8784</link>
    <description>I was wondering is there a way to put the /usr/local/bin path into my users path?</description>
    <pubDate>Tue, 24 Feb 2004 16:31:50 GMT</pubDate>
    <dc:creator>Paul Stanard</dc:creator>
    <dc:date>2004-02-24T16:31:50Z</dc:date>
    <item>
      <title>Setting Path</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201178#M8784</link>
      <description>I was wondering is there a way to put the /usr/local/bin path into my users path?</description>
      <pubDate>Tue, 24 Feb 2004 16:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201178#M8784</guid>
      <dc:creator>Paul Stanard</dc:creator>
      <dc:date>2004-02-24T16:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Path</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201179#M8785</link>
      <description>Try&lt;BR /&gt;PATH=$PATH:/usr/local/bin&lt;BR /&gt;or&lt;BR /&gt;PATH=/usr/local/bin:$PATH&lt;BR /&gt;&lt;BR /&gt;or add /usr/local/bin to your .profile&lt;BR /&gt;in the line where you define PATH.&lt;BR /&gt;&lt;BR /&gt;or if your a csh addict&lt;BR /&gt;set path=(. /bin /usr/ucb /bin /usr/bin /usr/bin/X11 /usr/local/bin /usr/bin/mh /usr/sbin $HOME)&lt;BR /&gt;Such line should go into your .login&lt;BR /&gt;&lt;BR /&gt;Johan.</description>
      <pubDate>Tue, 24 Feb 2004 17:07:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201179#M8785</guid>
      <dc:creator>Johan Brusche</dc:creator>
      <dc:date>2004-02-24T17:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Path</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201180#M8786</link>
      <description>It reads:&lt;BR /&gt;if [ ! "$DT" ]; then&lt;BR /&gt;        stty dec&lt;BR /&gt;        tset -I -Q&lt;BR /&gt;fi&lt;BR /&gt;PS1="`hostname`&amp;gt; "&lt;BR /&gt;MAIL=/usr/spool/mail/$USER&lt;BR /&gt;echo $PATH | /bin/grep -q "$HOME/bin" ||&lt;BR /&gt;{&lt;BR /&gt;        PATH=$HOME/bin:${PATH:-/usr/bin:.}&lt;BR /&gt;        export PATH&lt;BR /&gt;}&lt;BR /&gt; Could I just add the lines to the bottom or does it have to go within the brackets?&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Feb 2004 17:41:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201180#M8786</guid>
      <dc:creator>Paul Stanard</dc:creator>
      <dc:date>2004-02-24T17:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Path</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201181#M8787</link>
      <description>{&lt;BR /&gt;PATH=$HOME/bin:${PATH}:/usr/bin:.:/usr/local/bin&lt;BR /&gt;export PATH&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Confirm the set path after logging again or issue the command .profile.&lt;BR /&gt;&lt;BR /&gt;Use echo $PATH to check if the PATH has been set.&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Wed, 25 Feb 2004 00:34:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201181#M8787</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-02-25T00:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Path</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201182#M8788</link>
      <description>Your .profile seems to give you a different PATH depending on if you already have $HOME/bin in your PATH  or not.  If this is actually important to you then this will determine where you put your amended PATH.&lt;BR /&gt; &lt;BR /&gt;IF you put it in the brackets, it will only take effect if you don't have $HOME in your path already.&lt;BR /&gt; &lt;BR /&gt;Personally, if you can, I'd comment all that out and just put&lt;BR /&gt; &lt;BR /&gt;export PATH=/usr/local/bin:$PATH at the end of your .profile&lt;BR /&gt; &lt;BR /&gt;As advised above, having done your changes, check it by going ". ./.profile" and then "echo $PATH".  Juts make sure it looks right before logging out and in again.</description>
      <pubDate>Wed, 25 Feb 2004 01:31:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201182#M8788</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-25T01:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Path</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201183#M8789</link>
      <description>Thanks to all</description>
      <pubDate>Wed, 25 Feb 2004 07:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/setting-path/m-p/3201183#M8789</guid>
      <dc:creator>Paul Stanard</dc:creator>
      <dc:date>2004-02-25T07:49:23Z</dc:date>
    </item>
  </channel>
</rss>

