<?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 question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463754#M210555</link>
    <description>Rather than changing PATH, have you considered using alias?&lt;BR /&gt;e.g. syntax for posix/ksh , add to .profile:&lt;BR /&gt;&lt;BR /&gt;alias myprog=/full/path/to/myprog</description>
    <pubDate>Wed, 19 Jan 2005 07:16:18 GMT</pubDate>
    <dc:creator>Gordon  Morrison</dc:creator>
    <dc:date>2005-01-19T07:16:18Z</dc:date>
    <item>
      <title>path question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463749#M210550</link>
      <description>I have a very basic question.  Once I had re-installed HP-UX 11.i on to my D380 server I wasn't sure how to finish setting it up.  What I mean by that is how do I make changes to the path so that I can get programs to run from the root.  For example I have HP OV DP installed on the server.  When I want to stop the program I end up having to search the drive to find out where the program is and then go to that directory and stop the program.  I want to be able to do that from any directory that I am currently in.</description>
      <pubDate>Fri, 14 Jan 2005 17:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463749#M210550</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2005-01-14T17:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: path question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463750#M210551</link>
      <description>The standard method is to edit the file /etc/PATH but you can also edit a given user's .profile&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;PATH=/myextradir/bin:${PATH}&lt;BR /&gt;export PATH&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jan 2005 17:47:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463750#M210551</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-01-14T17:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: path question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463751#M210552</link>
      <description>Assuming that root's shell has not been changed (it's recommended that you never change it), you should make the above change to /.profile to alter only root's login.&lt;BR /&gt;&lt;BR /&gt;FYI, you don't have to cd to a directory in order to run a program (although it seems easier).  Instead of &lt;BR /&gt;&lt;BR /&gt;find / -name myprog&lt;BR /&gt;cd /path/above/myprog&lt;BR /&gt;./myprog&lt;BR /&gt;&lt;BR /&gt;you could:&lt;BR /&gt;&lt;BR /&gt;find / -name myprog&lt;BR /&gt;/path/above/myprog/myprog&lt;BR /&gt;&lt;BR /&gt;Another useful thing is to keep a little file or log for yourself of helpful stuff -- stuff you keep having to look up.  :-)&lt;BR /&gt;&lt;BR /&gt;HTH.</description>
      <pubDate>Fri, 14 Jan 2005 22:21:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463751#M210552</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2005-01-14T22:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: path question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463752#M210553</link>
      <description>The OpenView pakage should have added the OV DP path to /etc/PATH. If it is located in that file, then the method you use to login is bypassing /etc/profile, or someone has removed the /etc/PATH code from /etc/profile.</description>
      <pubDate>Sat, 15 Jan 2005 22:29:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463752#M210553</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-01-15T22:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: path question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463753#M210554</link>
      <description>Little PATH advice.&lt;BR /&gt;&lt;BR /&gt;Take a little look at the order of the path statement.&lt;BR /&gt;&lt;BR /&gt;I had a single user that scould not scp.&lt;BR /&gt;&lt;BR /&gt;Kept saying options like -p or -rp were invalid.&lt;BR /&gt;&lt;BR /&gt;Scratched my head for a while on it. Searched forums for the message. Didn't write a thread though.&lt;BR /&gt;&lt;BR /&gt;Finally the user asked why scp didn't work for him and everybody else had it.&lt;BR /&gt;&lt;BR /&gt;So reluctantly, I filed a support case on Friday. They never heard of the error message and kicked the call up to backline support.&lt;BR /&gt;&lt;BR /&gt;They asked for a bunch of information. While gathering it, it occurred to me to run the command:&lt;BR /&gt;&lt;BR /&gt;whence scp&lt;BR /&gt;&lt;BR /&gt;I was thinking maybe somehow another scp or openssh release was on the box.&lt;BR /&gt;&lt;BR /&gt;No, there was another program called scp installed with a cobol compiler that only that user used. It was first on the path. Ooops.&lt;BR /&gt;&lt;BR /&gt;So if after modifying the path something strange happens, take a little look along the path as to where the binary is. You may be surprised.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 15 Jan 2005 23:20:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463753#M210554</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-01-15T23:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: path question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463754#M210555</link>
      <description>Rather than changing PATH, have you considered using alias?&lt;BR /&gt;e.g. syntax for posix/ksh , add to .profile:&lt;BR /&gt;&lt;BR /&gt;alias myprog=/full/path/to/myprog</description>
      <pubDate>Wed, 19 Jan 2005 07:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/path-question/m-p/3463754#M210555</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-01-19T07:16:18Z</dc:date>
    </item>
  </channel>
</rss>

