<?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: Permanant environment variable setting (newbie) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265712#M888729</link>
    <description>Wow!  Thanks for the many replies.&lt;BR /&gt;&lt;BR /&gt;What is the difference in just putting:&lt;BR /&gt;&lt;BR /&gt;MY_APP_LICENSE=/licenses/license.dat&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;export MY_APP_LICENSE=/licenses/license.dat&lt;BR /&gt;&lt;BR /&gt;in /etc/profile?&lt;BR /&gt;&lt;BR /&gt;If I just do MY_APP_LICENSE=/licenses/license.dat&lt;BR /&gt;It seems to hit everyone.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
    <pubDate>Mon, 03 May 2004 09:31:56 GMT</pubDate>
    <dc:creator>Scott Sabo</dc:creator>
    <dc:date>2004-05-03T09:31:56Z</dc:date>
    <item>
      <title>Permanant environment variable setting (newbie)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265706#M888723</link>
      <description>How do I make an environment setting permanent?  Example:  I have to set an environment variable for a license file using EXPORT, however, I don't want to do it every time I log in.&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Mon, 03 May 2004 09:10:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265706#M888723</guid>
      <dc:creator>Scott Sabo</dc:creator>
      <dc:date>2004-05-03T09:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Permanant environment variable setting (newbie)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265707#M888724</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could edit your $HOME/.profile and add your export variable in there.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 03 May 2004 09:11:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265707#M888724</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-05-03T09:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Permanant environment variable setting (newbie)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265708#M888725</link>
      <description>You can put it at the end of your .profile in the following format &lt;BR /&gt;&lt;BR /&gt;VARIABLE_NAME=value&lt;BR /&gt;&lt;BR /&gt;Hope it helps</description>
      <pubDate>Mon, 03 May 2004 09:11:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265708#M888725</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-05-03T09:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Permanant environment variable setting (newbie)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265709#M888726</link>
      <description>Two ways:&lt;BR /&gt;&lt;BR /&gt;For everybody, put an export statement in /etc/profile.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;export MYVAR=Furpsplat&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;or for just one user put the same statement in .profile.&lt;BR /&gt;&lt;BR /&gt;Because /etc/profile is read before .profile, if the same variable is set in both, the last export wins so that it is possible to override the values set in /etc/profile.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 May 2004 09:13:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265709#M888726</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-05-03T09:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Permanant environment variable setting (newbie)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265710#M888727</link>
      <description>Also if you are the sysadmin of this box and want to have this value set for all of the users of this system, you can put it in the file /etc/profile</description>
      <pubDate>Mon, 03 May 2004 09:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265710#M888727</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-05-03T09:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Permanant environment variable setting (newbie)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265711#M888728</link>
      <description>adding in /etc/profile seems to be the best option. Add following:&lt;BR /&gt;"export VARIBLE=value"</description>
      <pubDate>Mon, 03 May 2004 09:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265711#M888728</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-05-03T09:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Permanant environment variable setting (newbie)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265712#M888729</link>
      <description>Wow!  Thanks for the many replies.&lt;BR /&gt;&lt;BR /&gt;What is the difference in just putting:&lt;BR /&gt;&lt;BR /&gt;MY_APP_LICENSE=/licenses/license.dat&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;export MY_APP_LICENSE=/licenses/license.dat&lt;BR /&gt;&lt;BR /&gt;in /etc/profile?&lt;BR /&gt;&lt;BR /&gt;If I just do MY_APP_LICENSE=/licenses/license.dat&lt;BR /&gt;It seems to hit everyone.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Mon, 03 May 2004 09:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265712#M888729</guid>
      <dc:creator>Scott Sabo</dc:creator>
      <dc:date>2004-05-03T09:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Permanant environment variable setting (newbie)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265713#M888730</link>
      <description>** Export allows the Varible to be inherited by the Sub Shells.&lt;BR /&gt;You need to export the variable since it is inherited by the sub shell that may be used by the users after login.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 May 2004 10:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanant-environment-variable-setting-newbie/m-p/3265713#M888730</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-05-03T10:00:26Z</dc:date>
    </item>
  </channel>
</rss>

