<?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 Re: exporting PATH in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485721#M18786</link>
    <description>Joey,&lt;BR /&gt;You need to change your path statement to:&lt;BR /&gt;export PATH=$PATH:/users/jdean&lt;BR /&gt;Don't include the file name, just the path to the filename.&lt;BR /&gt;Mo</description>
    <pubDate>Tue, 23 Jan 2001 17:43:14 GMT</pubDate>
    <dc:creator>Maureen Gunkel</dc:creator>
    <dc:date>2001-01-23T17:43:14Z</dc:date>
    <item>
      <title>exporting PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485719#M18784</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;I created a script and put it on my local dir then include it on my existing PATH using the command "export PATH=$PATH:/users/jdean/test.sh"&lt;BR /&gt;&lt;BR /&gt;When I run echo $PATH I could see already my new dir included.  Now my question is,  why is it whenever I run "whereis test.sh" from the command line from any dir, system could not find my script to think it's already included in my PATH?  &lt;BR /&gt;&lt;BR /&gt;Also I noticed that,  when I copied files or scripts to our /usr/local/bin dir which I added also on my existing PATH the "whereis" command can locate these files or script from any dir I'm in. &lt;BR /&gt;&lt;BR /&gt;Any Ideas?  Did I miss something here?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Joey</description>
      <pubDate>Tue, 23 Jan 2001 17:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485719#M18784</guid>
      <dc:creator>Kurtkarl</dc:creator>
      <dc:date>2001-01-23T17:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: exporting PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485720#M18785</link>
      <description>We only have the directory path in our PATH statements, not script or file names.</description>
      <pubDate>Tue, 23 Jan 2001 17:41:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485720#M18785</guid>
      <dc:creator>Eileen Millen</dc:creator>
      <dc:date>2001-01-23T17:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: exporting PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485721#M18786</link>
      <description>Joey,&lt;BR /&gt;You need to change your path statement to:&lt;BR /&gt;export PATH=$PATH:/users/jdean&lt;BR /&gt;Don't include the file name, just the path to the filename.&lt;BR /&gt;Mo</description>
      <pubDate>Tue, 23 Jan 2001 17:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485721#M18786</guid>
      <dc:creator>Maureen Gunkel</dc:creator>
      <dc:date>2001-01-23T17:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: exporting PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485722#M18787</link>
      <description>Guys,  &lt;BR /&gt;Sorry I did'nt mean to include the file or the script when exporting path "typo error".  Actually I exported this dir without the file or script just the dir but it didnt work.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;Thanks &lt;BR /&gt;Joey</description>
      <pubDate>Tue, 23 Jan 2001 18:47:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485722#M18787</guid>
      <dc:creator>Kurtkarl</dc:creator>
      <dc:date>2001-01-23T18:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: exporting PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485723#M18788</link>
      <description>Hi Joey:&lt;BR /&gt;&lt;BR /&gt;The man pages for 'whereis' note that whereis ..."attempts to locate the desired program in a list of standard places".  This is the reason you are not getting a 'hit'.&lt;BR /&gt;&lt;BR /&gt;You can execute 'whereis' for a non-standard  directory (or directories) like this, for instance:&lt;BR /&gt;&lt;BR /&gt;# whereis -B /tmp /var/tmp -f ls&lt;BR /&gt;&lt;BR /&gt;This would look in /tmp and in /var/tmp for the 'ls' executable.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 23 Jan 2001 19:03:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485723#M18788</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-23T19:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: exporting PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485724#M18789</link>
      <description>The command you are looking for is not whereis but whence.  whereis (and which) do not really show you what the shell will do when you type a simple command name.&lt;BR /&gt;&lt;BR /&gt;whence -v ksh&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;whence -v history&lt;BR /&gt;&lt;BR /&gt;will tell you exactly what will occur, whether the command is a builtin (like fc), an alias (like history) or found some where along the $PATH list.  Always use whence to test for 'where did this command come from?'</description>
      <pubDate>Wed, 24 Jan 2001 00:14:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485724#M18789</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-01-24T00:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: exporting PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485725#M18790</link>
      <description>Hi Joey,&lt;BR /&gt;&lt;BR /&gt;If you use 'which test.sh' it surely will show you the path to the file.&lt;BR /&gt;&lt;BR /&gt;see 'which' manpage.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jan 2001 08:23:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-path/m-p/2485725#M18790</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-24T08:23:28Z</dc:date>
    </item>
  </channel>
</rss>

