<?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 current shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168053#M457487</link>
    <description>guys i am changing my curent working shells dynamically just like nesting.So is there any command to know which is the current shell.&lt;BR /&gt;&lt;BR /&gt;I am no expecting any answer like $SHELL</description>
    <pubDate>Sun, 05 Apr 2009 15:22:11 GMT</pubDate>
    <dc:creator>pa8700</dc:creator>
    <dc:date>2009-04-05T15:22:11Z</dc:date>
    <item>
      <title>current shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168053#M457487</link>
      <description>guys i am changing my curent working shells dynamically just like nesting.So is there any command to know which is the current shell.&lt;BR /&gt;&lt;BR /&gt;I am no expecting any answer like $SHELL</description>
      <pubDate>Sun, 05 Apr 2009 15:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168053#M457487</guid>
      <dc:creator>pa8700</dc:creator>
      <dc:date>2009-04-05T15:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: current shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168054#M457488</link>
      <description># echo $SHELL &lt;BR /&gt;gives you the actual shell. If you have opend another one e.g. ksh from there then you can type &lt;BR /&gt;# echo $$ &lt;BR /&gt;and look for the named process id. It will give you the named shell information</description>
      <pubDate>Sun, 05 Apr 2009 17:12:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168054#M457488</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-04-05T17:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: current shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168055#M457489</link>
      <description>thanks pls use echo $0</description>
      <pubDate>Sun, 05 Apr 2009 18:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168055#M457489</guid>
      <dc:creator>pa8700</dc:creator>
      <dc:date>2009-04-05T18:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: current shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168056#M457490</link>
      <description>SHELL is only set by login and not the shell.  As you said, $0 should work.&lt;BR /&gt;&lt;BR /&gt;Why do you care what the current shell is?  All scripts should force a shell.  And if you want to know the current shell, type a bogus command.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Avinash: echo $$ and look for the named process id.&lt;BR /&gt;&lt;BR /&gt;Something like:&lt;BR /&gt;UNIX95=EXTENDED_PS ps -p $$ -ocomm=</description>
      <pubDate>Sun, 05 Apr 2009 19:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168056#M457490</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-05T19:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: current shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168057#M457491</link>
      <description>Hi,&lt;BR /&gt;here is the command to check which shell you are using&lt;BR /&gt;&lt;BR /&gt;[suraj@rspc521 root]# echo $SHELL&lt;BR /&gt;/bin/bash&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Apr 2009 10:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168057#M457491</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-04-06T10:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: current shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168058#M457492</link>
      <description># ps -ef | grep $$</description>
      <pubDate>Mon, 06 Apr 2009 10:37:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168058#M457492</guid>
      <dc:creator>Jozef_Novak</dc:creator>
      <dc:date>2009-04-06T10:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: current shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168059#M457493</link>
      <description>thanks</description>
      <pubDate>Mon, 06 Apr 2009 11:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/current-shell/m-p/5168059#M457493</guid>
      <dc:creator>pa8700</dc:creator>
      <dc:date>2009-04-06T11:33:58Z</dc:date>
    </item>
  </channel>
</rss>

