<?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: setting environment variables in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360433#M193958</link>
    <description>Can you find out which cd you are executing with &lt;BR /&gt;&lt;BR /&gt;$whereis cd&lt;BR /&gt;&lt;BR /&gt;sks</description>
    <pubDate>Thu, 19 Aug 2004 00:10:39 GMT</pubDate>
    <dc:creator>Sanjay Kumar Suri</dc:creator>
    <dc:date>2004-08-19T00:10:39Z</dc:date>
    <item>
      <title>setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360429#M193954</link>
      <description>Hello Gurus&lt;BR /&gt;&lt;BR /&gt;How do i go about changing a global environment variable?&lt;BR /&gt;&lt;BR /&gt;for example:&lt;BR /&gt;typing cd fromsteve at the prompt takes me to /opt/fromsteve, I need that to point to /var/opt/fromsteve&lt;BR /&gt;&lt;BR /&gt;A step by step guide would be very helpful for a newbie :-)</description>
      <pubDate>Wed, 18 Aug 2004 17:03:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360429#M193954</guid>
      <dc:creator>Steve G. Casino</dc:creator>
      <dc:date>2004-08-18T17:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360430#M193955</link>
      <description>are  you sure it is&lt;BR /&gt;cd fromsteve &lt;BR /&gt;&lt;BR /&gt;environment variables are referenced via a $&lt;BR /&gt;so it would be&lt;BR /&gt;cd $fromsteve&lt;BR /&gt;&lt;BR /&gt;if there is no $, you might have an alias setup&lt;BR /&gt;see what typeset -f returns</description>
      <pubDate>Wed, 18 Aug 2004 17:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360430#M193955</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-08-18T17:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360431#M193956</link>
      <description>You will have to do it in /etc/profile.&lt;BR /&gt;&lt;BR /&gt;alias something='command'</description>
      <pubDate>Wed, 18 Aug 2004 17:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360431#M193956</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2004-08-18T17:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360432#M193957</link>
      <description>I don't think it is an Alias.&lt;BR /&gt;&lt;BR /&gt;An alias is supposed to be just one work right?  Like if i say "fromsteve" it performs the command cd /var/opt/fromsteve.&lt;BR /&gt;&lt;BR /&gt;In this case it's cd fromsteve with no $</description>
      <pubDate>Wed, 18 Aug 2004 20:07:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360432#M193957</guid>
      <dc:creator>Steve G. Casino</dc:creator>
      <dc:date>2004-08-18T20:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360433#M193958</link>
      <description>Can you find out which cd you are executing with &lt;BR /&gt;&lt;BR /&gt;$whereis cd&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Thu, 19 Aug 2004 00:10:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360433#M193958</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-08-19T00:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360434#M193959</link>
      <description>hai,&lt;BR /&gt;&lt;BR /&gt; what is ll  fromsteve  saying.&lt;BR /&gt;&lt;BR /&gt; Is it a link to  /opt/fromsteve directory?&lt;BR /&gt;&lt;BR /&gt; If so then,&lt;BR /&gt;&lt;BR /&gt; Remove the old link&lt;BR /&gt; rm -f fromsteve&lt;BR /&gt; &lt;BR /&gt; Create new link to /var/opt/fromsteve file&lt;BR /&gt; ln -s /var/opt/fromsteve fromsteve&lt;BR /&gt;&lt;BR /&gt; If you do cd fromsteve&lt;BR /&gt; &lt;BR /&gt; It will access all files and directories on /var/opt/fromsteve directory.&lt;BR /&gt;&lt;BR /&gt; Else,&lt;BR /&gt; &lt;BR /&gt; alias&lt;BR /&gt; &lt;BR /&gt; what is it saying.?&lt;BR /&gt; &lt;BR /&gt; Any alias are there? &lt;BR /&gt;</description>
      <pubDate>Thu, 19 Aug 2004 00:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360434#M193959</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-08-19T00:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360435#M193960</link>
      <description>Yes,&lt;BR /&gt;As muthukumar said, i also doubt the same.&lt;BR /&gt;You must be having a soft link to the directory /opt/fromsteve which was created as follows:&lt;BR /&gt;&lt;BR /&gt;# ln -s /opt/fromsteve fromsteve&lt;BR /&gt;&lt;BR /&gt;Now that you want to point it to /var/opt/fromsteve rerun the following command:&lt;BR /&gt;&lt;BR /&gt;# unlink fromsteve&lt;BR /&gt;# ln -s /var/opt/fromsteve fromsteve&lt;BR /&gt;&lt;BR /&gt;Hope this is the situation.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Aug 2004 00:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360435#M193960</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-08-19T00:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360436#M193961</link>
      <description>i found no links and nothing in the aliases...&lt;BR /&gt;&lt;BR /&gt;but i did something:  I deleted the old directory /opt/fromsteve&lt;BR /&gt;&lt;BR /&gt;when i do a "cd fromsteve" i now get directed to /var/opt/fromsteve&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Aug 2004 19:22:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360436#M193961</guid>
      <dc:creator>Steve G. Casino</dc:creator>
      <dc:date>2004-08-19T19:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360437#M193962</link>
      <description>I hope, I got it now,&lt;BR /&gt;&lt;BR /&gt; what is your environment variable CDPATH saying??&lt;BR /&gt;&lt;BR /&gt; echo $CDPATH&lt;BR /&gt;&lt;BR /&gt; It will relocate the files / directories under their path.&lt;BR /&gt;&lt;BR /&gt; Test:&lt;BR /&gt; &lt;BR /&gt;  [/] # CDPATH=/opt/&lt;BR /&gt;  [/] # cd fromsteve&lt;BR /&gt;&lt;BR /&gt;  It will go to /opt/fromsteve&lt;BR /&gt; where [/] shows PWD&lt;BR /&gt;&lt;BR /&gt;   [/] # CDPATH=/var/opt/&lt;BR /&gt;   [/] # export $CDPATH&lt;BR /&gt;   [/] # cd fromsteve&lt;BR /&gt;   /var/opt/fromsteve&lt;BR /&gt;   [/var/opt/fromsteve] #  &lt;BR /&gt; &lt;BR /&gt;  It will go to /var/opt/fromsteve&lt;BR /&gt;&lt;BR /&gt; HTH.&lt;BR /&gt;  &lt;BR /&gt;Regards&lt;BR /&gt;Muthu</description>
      <pubDate>Thu, 19 Aug 2004 23:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3360437#M193962</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-08-19T23:25:17Z</dc:date>
    </item>
  </channel>
</rss>

