<?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: execute command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543537#M865963</link>
    <description>hi,&lt;BR /&gt;add it in PATH&lt;BR /&gt;#PATH=$PATH:/newpath.&lt;BR /&gt;newpath is the path where your .prg exist &lt;BR /&gt;eg : if prg exist in /x/y/prg&lt;BR /&gt;then #PATH=$PATH:/x/y&lt;BR /&gt;     #export $PATH&lt;BR /&gt;or same thing can be added in .profile file</description>
    <pubDate>Fri, 22 Jun 2001 07:54:11 GMT</pubDate>
    <dc:creator>Ravi_8</dc:creator>
    <dc:date>2001-06-22T07:54:11Z</dc:date>
    <item>
      <title>execute command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543532#M865958</link>
      <description>I installed a program called pgp in one of the main directories but in order for me to run the program, I have to go to the directory where it is installed and issue ./pgp.&lt;BR /&gt;&lt;BR /&gt;Can I have it as part of my profile so that I can issue the command from any directory or folder.&lt;BR /&gt;&lt;BR /&gt;Let me know if you can help.</description>
      <pubDate>Thu, 21 Jun 2001 18:00:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543532#M865958</guid>
      <dc:creator>Jade Bulante</dc:creator>
      <dc:date>2001-06-21T18:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: execute command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543533#M865959</link>
      <description>You can add the directory to a PATH statement in your .profile file&lt;BR /&gt;PATH=$PATH:/directory_path</description>
      <pubDate>Thu, 21 Jun 2001 18:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543533#M865959</guid>
      <dc:creator>Eileen Millen</dc:creator>
      <dc:date>2001-06-21T18:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: execute command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543534#M865960</link>
      <description>I edited the .profile to include correct path but I get this error.&lt;BR /&gt;&lt;BR /&gt;"/usr/bin/sh:pgp not found"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jun 2001 20:09:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543534#M865960</guid>
      <dc:creator>Jade Bulante</dc:creator>
      <dc:date>2001-06-21T20:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: execute command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543535#M865961</link>
      <description>Ron's answer in the profile message is right.&lt;BR /&gt;I didn't think about having to do&lt;BR /&gt;. ./.profile to get it to run.&lt;BR /&gt;&lt;BR /&gt;PATH=$PATH:/new_path&lt;BR /&gt;would also work</description>
      <pubDate>Thu, 21 Jun 2001 20:14:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543535#M865961</guid>
      <dc:creator>Eileen Millen</dc:creator>
      <dc:date>2001-06-21T20:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: execute command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543536#M865962</link>
      <description>&lt;BR /&gt;  Hi&lt;BR /&gt;&lt;BR /&gt;     Before editting .profile U acn try this.&lt;BR /&gt;#PATH=$PATH:/"pgp programs path"&lt;BR /&gt;#export PATH&lt;BR /&gt;#pgp (regardless of where U are). If this is working U can add the same thing in $home/.profile file. If this is not working Ur program has got some other problem. Come out with more inputs.&lt;BR /&gt;&lt;BR /&gt;Shahul</description>
      <pubDate>Fri, 22 Jun 2001 07:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543536#M865962</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2001-06-22T07:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: execute command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543537#M865963</link>
      <description>hi,&lt;BR /&gt;add it in PATH&lt;BR /&gt;#PATH=$PATH:/newpath.&lt;BR /&gt;newpath is the path where your .prg exist &lt;BR /&gt;eg : if prg exist in /x/y/prg&lt;BR /&gt;then #PATH=$PATH:/x/y&lt;BR /&gt;     #export $PATH&lt;BR /&gt;or same thing can be added in .profile file</description>
      <pubDate>Fri, 22 Jun 2001 07:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543537#M865963</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-06-22T07:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: execute command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543538#M865964</link>
      <description>Hi Jade,&lt;BR /&gt;&lt;BR /&gt;Like others said you can add the path (when &lt;BR /&gt;you change directory typing "cd /A/B/C", your &lt;BR /&gt;path is "/A/B/C" or use "pwd" to be sure when &lt;BR /&gt;you are in your program's directory).&lt;BR /&gt;&lt;BR /&gt;Type in a shell to verify and add to your &lt;BR /&gt;.profile : export PATH=$PATH:YOUR_PATH&lt;BR /&gt;&lt;BR /&gt;I use another method : I have a $HOME/bin &lt;BR /&gt;directory (a bin directory in my home dir) &lt;BR /&gt;where I put all my prg or I make links (using&lt;BR /&gt;ln -s &lt;PATH_OF_PRG&gt;/&lt;PRG_NAME&gt; $HOME/bin/&lt;PRG_NAME&gt;).&lt;BR /&gt;And I added $HOME/bin in my path like we describe&lt;BR /&gt;for your own prg.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Herve&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRG_NAME&gt;&lt;/PRG_NAME&gt;&lt;/PATH_OF_PRG&gt;</description>
      <pubDate>Fri, 22 Jun 2001 08:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543538#M865964</guid>
      <dc:creator>Herve BRANGIER</dc:creator>
      <dc:date>2001-06-22T08:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: execute command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543539#M865965</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Look at the file /etc/PATH&lt;BR /&gt;&lt;BR /&gt;you could edit this file which will give eryone logging into this system the new $PATH</description>
      <pubDate>Fri, 22 Jun 2001 08:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543539#M865965</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2001-06-22T08:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: execute command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543540#M865966</link>
      <description>For CDE, as it doesn't automatically source your .profile on dtterm launch, you might want to edit the system profiles to ensure that your dt config sources profile on login.&lt;BR /&gt;see /etc/dt/config/sys.dtprofile (/usr/dt/config) and set DTSOURCEPROFILE=true&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Jun 2001 09:14:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-command/m-p/2543540#M865966</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-06-22T09:14:40Z</dc:date>
    </item>
  </channel>
</rss>

