<?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 ~ not working on HP-UX 11.23 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259329#M659242</link>
    <description>My code is as follows&lt;BR /&gt;&lt;BR /&gt;SHOME=/home/shome&lt;BR /&gt;&lt;BR /&gt;if [ $(whoami) = root ]&lt;BR /&gt;then&lt;BR /&gt;    export HOME=$SHOME&lt;BR /&gt;echo $HOME&lt;BR /&gt;ls -ltr ~&lt;BR /&gt;&lt;BR /&gt;i get $HOME printed as /home/shome.but ls -ltr ~ is displaying the root list of files instead of /home/shome/ files.&lt;BR /&gt;&lt;BR /&gt;Can anyone help me in understanding why ~ is not taking $HOME?</description>
    <pubDate>Tue, 19 Oct 2010 20:57:46 GMT</pubDate>
    <dc:creator>puth</dc:creator>
    <dc:date>2010-10-19T20:57:46Z</dc:date>
    <item>
      <title>~ not working on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259329#M659242</link>
      <description>My code is as follows&lt;BR /&gt;&lt;BR /&gt;SHOME=/home/shome&lt;BR /&gt;&lt;BR /&gt;if [ $(whoami) = root ]&lt;BR /&gt;then&lt;BR /&gt;    export HOME=$SHOME&lt;BR /&gt;echo $HOME&lt;BR /&gt;ls -ltr ~&lt;BR /&gt;&lt;BR /&gt;i get $HOME printed as /home/shome.but ls -ltr ~ is displaying the root list of files instead of /home/shome/ files.&lt;BR /&gt;&lt;BR /&gt;Can anyone help me in understanding why ~ is not taking $HOME?</description>
      <pubDate>Tue, 19 Oct 2010 20:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259329#M659242</guid>
      <dc:creator>puth</dc:creator>
      <dc:date>2010-10-19T20:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: ~ not working on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259330#M659243</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] on HP-UX 11.23&lt;BR /&gt;&lt;BR /&gt;      uname -a&lt;BR /&gt;&lt;BR /&gt;      man &lt;YOUR_SHELL&gt;&lt;BR /&gt;&lt;BR /&gt;See what it claims to do when you say "~".&lt;BR /&gt;&lt;BR /&gt;My psychic powers are too weak to tell me&lt;BR /&gt;which shell you're using, but you might try&lt;BR /&gt;a different one to see if that would help.&lt;/YOUR_SHELL&gt;</description>
      <pubDate>Tue, 19 Oct 2010 23:00:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259330#M659243</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-10-19T23:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: ~ not working on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259331#M659244</link>
      <description>If you use a real shell, it takes it from $HOME.  If you use the scummy C shell, it looks at $home.&lt;BR /&gt;I'm not sure what shell would work as you said?</description>
      <pubDate>Wed, 20 Oct 2010 04:12:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259331#M659244</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-10-20T04:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: ~ not working on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259332#M659245</link>
      <description>I am using ksh</description>
      <pubDate>Wed, 20 Oct 2010 11:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259332#M659245</guid>
      <dc:creator>puth</dc:creator>
      <dc:date>2010-10-20T11:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: ~ not working on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259333#M659246</link>
      <description>~ is the login directory for the given user (taken from the passwd file) - not the value of the $HOME parameter.  Do a man on ksh and look for "Tilde Substitution".</description>
      <pubDate>Wed, 20 Oct 2010 16:32:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259333#M659246</guid>
      <dc:creator>Mike Miller_8</dc:creator>
      <dc:date>2010-10-20T16:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: ~ not working on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259334#M659247</link>
      <description>Wrong question</description>
      <pubDate>Wed, 20 Oct 2010 16:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259334#M659247</guid>
      <dc:creator>puth</dc:creator>
      <dc:date>2010-10-20T16:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: ~ not working on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259335#M659248</link>
      <description>&amp;gt;Mike: ~ is the login directory for the given user (taken from the passwd file) - not the value of the $HOME parameter. Do a man on ksh and look for "Tilde Substitution".&lt;BR /&gt;&lt;BR /&gt;That's not all that it says.  If you have ~name, it comes from /etc/passwd, otherwise from $HOME.</description>
      <pubDate>Wed, 20 Oct 2010 17:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-working-on-hp-ux-11-23/m-p/5259335#M659248</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-10-20T17:46:59Z</dc:date>
    </item>
  </channel>
</rss>

