<?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: variable path in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448272#M852161</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for sh the syntax is&lt;BR /&gt;set x=/home/kamal/test;export x&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
    <pubDate>Tue, 21 Dec 2004 12:17:39 GMT</pubDate>
    <dc:creator>Michael Schulte zur Sur</dc:creator>
    <dc:date>2004-12-21T12:17:39Z</dc:date>
    <item>
      <title>variable path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448267#M852156</link>
      <description>hi all&lt;BR /&gt;&lt;BR /&gt;i have hp-ux v 10.20&lt;BR /&gt;i want to make a variable path for a specified directory.&lt;BR /&gt; i try the following :&lt;BR /&gt;&lt;BR /&gt;x=/home/kamal/test&lt;BR /&gt;when type cd $x&lt;BR /&gt;my pwd is /home/kamal/test&lt;BR /&gt;&lt;BR /&gt;but it is temporary.&lt;BR /&gt;at next connection&lt;BR /&gt;when i type cd $x&lt;BR /&gt;the following error appear&lt;BR /&gt;&lt;BR /&gt;sh: x:Parameter not set.&lt;BR /&gt;how to define this path variable for permanent usage?&lt;BR /&gt;please help&lt;BR /&gt;thanx for all.</description>
      <pubDate>Tue, 21 Dec 2004 11:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448267#M852156</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2004-12-21T11:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: variable path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448268#M852157</link>
      <description>Hi,&lt;BR /&gt;You should export your variable:&lt;BR /&gt;&lt;BR /&gt;export X=/home/kamal/test&lt;BR /&gt;&lt;BR /&gt;Now it should work&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 21 Dec 2004 11:33:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448268#M852157</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-12-21T11:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: variable path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448269#M852158</link>
      <description>It needs to be set in the .profile file in your home directory.&lt;BR /&gt;&lt;BR /&gt;Add the following line to your .profile file:&lt;BR /&gt;&lt;BR /&gt;export x=/home/kamal/test&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then next time you log in it should be available.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Dec 2004 11:34:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448269#M852158</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-12-21T11:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: variable path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448270#M852159</link>
      <description>thankx for all&lt;BR /&gt; i tryed it and now its working&lt;BR /&gt;but if i want to make this variable&lt;BR /&gt;global for all users&lt;BR /&gt;it mean i will type&lt;BR /&gt;&lt;BR /&gt;export x=/home/kamal/test&lt;BR /&gt;in all users directories .profile??&lt;BR /&gt;is there any way ?&lt;BR /&gt;thank you</description>
      <pubDate>Tue, 21 Dec 2004 12:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448270#M852159</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2004-12-21T12:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: variable path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448271#M852160</link>
      <description>Does everyone need the exact same directory?&lt;BR /&gt;&lt;BR /&gt;If so and if everyone is using ksh or sh for their shell then you can add that line in /etc/profile and it will be available to everyone.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Dec 2004 12:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448271#M852160</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-12-21T12:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: variable path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448272#M852161</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for sh the syntax is&lt;BR /&gt;set x=/home/kamal/test;export x&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Dec 2004 12:17:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448272#M852161</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-12-21T12:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: variable path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448273#M852162</link>
      <description>No, you don't have to do the set and exports separately.&lt;BR /&gt;&lt;BR /&gt;Just doing&lt;BR /&gt;&lt;BR /&gt;export x=whatever&lt;BR /&gt;&lt;BR /&gt;will work just fine.</description>
      <pubDate>Tue, 21 Dec 2004 12:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448273#M852162</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-12-21T12:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: variable path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448274#M852163</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;you are right. I didn't expect sh on HP-UX to behave differently than on Tru64&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Dec 2004 12:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448274#M852163</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-12-21T12:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: variable path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448275#M852164</link>
      <description>thankx for all&lt;BR /&gt;&lt;BR /&gt;it working now&lt;BR /&gt;thankx again&lt;BR /&gt;kamal</description>
      <pubDate>Tue, 21 Dec 2004 12:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variable-path/m-p/3448275#M852164</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2004-12-21T12:50:41Z</dc:date>
    </item>
  </channel>
</rss>

