<?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: PATH in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256118#M332250</link>
    <description>If your in /usr/master/pat you need to execute the script as following.&lt;BR /&gt;&lt;BR /&gt;#./script.sh&lt;BR /&gt;&lt;BR /&gt;you can set the PATH this way&lt;BR /&gt;&lt;BR /&gt;#export PATH=$PATH:/usr/master/pat &lt;BR /&gt;&lt;BR /&gt;you can also but that line in your .profile</description>
    <pubDate>Thu, 21 Aug 2008 20:16:32 GMT</pubDate>
    <dc:creator>Paul Sperry</dc:creator>
    <dc:date>2008-08-21T20:16:32Z</dc:date>
    <item>
      <title>PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256117#M332249</link>
      <description>Hello All,&lt;BR /&gt;I have a script script.sh in a directory /usr/master1/pat&lt;BR /&gt;I have to give full path name as below to get the script running. i need to make it as just the script name .Any idea. &lt;BR /&gt;#/usr/master/pat/script1.sh &lt;BR /&gt;works&lt;BR /&gt;#pwd&lt;BR /&gt;#/usr/master/pat&lt;BR /&gt;script.sh&lt;BR /&gt;does not work&lt;BR /&gt;&lt;BR /&gt;i need to update PATH to PATH:. but the problem is not sure which env file is thi susing cause .profile , profile has . in the PATH definition</description>
      <pubDate>Thu, 21 Aug 2008 20:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256117#M332249</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2008-08-21T20:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256118#M332250</link>
      <description>If your in /usr/master/pat you need to execute the script as following.&lt;BR /&gt;&lt;BR /&gt;#./script.sh&lt;BR /&gt;&lt;BR /&gt;you can set the PATH this way&lt;BR /&gt;&lt;BR /&gt;#export PATH=$PATH:/usr/master/pat &lt;BR /&gt;&lt;BR /&gt;you can also but that line in your .profile</description>
      <pubDate>Thu, 21 Aug 2008 20:16:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256118#M332250</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2008-08-21T20:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256119#M332251</link>
      <description>&amp;gt; [...] not sure [...]&lt;BR /&gt;&lt;BR /&gt;"echo $PATH" to see what you have.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] profile has . in the PATH definition&lt;BR /&gt;&lt;BR /&gt;Which "[.]profile"?  Whose "[.]profile"?&lt;BR /&gt;&lt;BR /&gt;This might be easier to puzzle out if anyone&lt;BR /&gt;other than you could see what's in your PATH&lt;BR /&gt;and/or .profile.  And if we knew which shell&lt;BR /&gt;you use.</description>
      <pubDate>Thu, 21 Aug 2008 20:35:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256119#M332251</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-08-21T20:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256120#M332252</link>
      <description>Or perhaps you could put the keyword PSYCHIC&lt;BR /&gt;in your subject, so we non-psychics could&lt;BR /&gt;save some time and effort.</description>
      <pubDate>Thu, 21 Aug 2008 20:36:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256120#M332252</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-08-21T20:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256121#M332253</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The "#" prompt suggests that you are running the script as root.&lt;BR /&gt;&lt;BR /&gt;Learn to do:&lt;BR /&gt;&lt;BR /&gt;# ./script.sh&lt;BR /&gt;&lt;BR /&gt;Do *NOT* add '.' to root's PATH.  It is a security hole.  In fact, this is documented in 'root's '.profile' (which would be the other part of your question).&lt;BR /&gt;&lt;BR /&gt;A '.profile' is read when you 'su -'.  If you simply do 'su' the target user's .profile is *not* read.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 21 Aug 2008 21:15:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path/m-p/4256121#M332253</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-08-21T21:15:53Z</dc:date>
    </item>
  </channel>
</rss>

