<?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 Path variable in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/path-variable/m-p/2453110#M11641</link>
    <description>Hi, I need a put path variable for all users, the eg: PATH=:/usr/bin:/usr/ccs/bin:/usr/contrib/bin (in the /etc/profile)&lt;BR /&gt;&lt;BR /&gt;I need put before /usr/contrib/bin, /opt/perl5/bin and then the line is:&lt;BR /&gt;PATH=:/usr/bin:/usr/ccs/bin:/opt/perl5/bin:/usr/contrib/bin&lt;BR /&gt;but I execute the command of /opt/perl5/bin in shell, the result is :&lt;BR /&gt;the command executed is in /usr/contrib/bin&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;MDF&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 12 Oct 2000 20:01:45 GMT</pubDate>
    <dc:creator>Marcelo De Florio</dc:creator>
    <dc:date>2000-10-12T20:01:45Z</dc:date>
    <item>
      <title>Path variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-variable/m-p/2453110#M11641</link>
      <description>Hi, I need a put path variable for all users, the eg: PATH=:/usr/bin:/usr/ccs/bin:/usr/contrib/bin (in the /etc/profile)&lt;BR /&gt;&lt;BR /&gt;I need put before /usr/contrib/bin, /opt/perl5/bin and then the line is:&lt;BR /&gt;PATH=:/usr/bin:/usr/ccs/bin:/opt/perl5/bin:/usr/contrib/bin&lt;BR /&gt;but I execute the command of /opt/perl5/bin in shell, the result is :&lt;BR /&gt;the command executed is in /usr/contrib/bin&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;MDF&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Oct 2000 20:01:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-variable/m-p/2453110#M11641</guid>
      <dc:creator>Marcelo De Florio</dc:creator>
      <dc:date>2000-10-12T20:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Path variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-variable/m-p/2453111#M11642</link>
      <description>Have you logged off (or resourced teh /etc/profile) in between editing and testing?&lt;BR /&gt;If not, that is almost certainly the problem.&lt;BR /&gt;&lt;BR /&gt;An easy way to test what binary will be executed under any given environment is with the type command (or whence). ex:&lt;BR /&gt;# type ls&lt;BR /&gt;ls is a tracked alias for /usr/bin/ls&lt;BR /&gt;&lt;BR /&gt;Otherwise, your logic is correct.  The PATH variale will be searched from beginning to end.  Placing the path you want accessed earlier in the assignment should make it the path accessed.</description>
      <pubDate>Thu, 12 Oct 2000 20:06:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-variable/m-p/2453111#M11642</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-10-12T20:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Path variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-variable/m-p/2453112#M11643</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for global setting of the PATH variable edit the file /etc/PATH&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 13 Oct 2000 06:15:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-variable/m-p/2453112#M11643</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-10-13T06:15:30Z</dc:date>
    </item>
  </channel>
</rss>

