<?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: about shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182173#M163095</link>
    <description>Is it? I naively thought it was whatever you set up in /etc/passwd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyway... how about: echo $SHELL &lt;BR /&gt;&lt;BR /&gt;or: env | grep SHELL&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Feb 2004 01:03:38 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2004-02-04T01:03:38Z</dc:date>
    <item>
      <title>about shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182172#M163094</link>
      <description>as we know &lt;BR /&gt;the default shell in hpux is posix shell&lt;BR /&gt;under the default shell&lt;BR /&gt;i enter the ksh&lt;BR /&gt;#ksh&lt;BR /&gt;but how can  i know which shell i am under whenever?&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Feb 2004 00:57:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182172#M163094</guid>
      <dc:creator>leyearn</dc:creator>
      <dc:date>2004-02-04T00:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: about shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182173#M163095</link>
      <description>Is it? I naively thought it was whatever you set up in /etc/passwd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyway... how about: echo $SHELL &lt;BR /&gt;&lt;BR /&gt;or: env | grep SHELL&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Feb 2004 01:03:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182173#M163095</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-02-04T01:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: about shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182174#M163096</link>
      <description>echo $SHELL&lt;BR /&gt;&lt;BR /&gt;The default is set by admin in /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Posix and Korn shell are identical in many features.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Feb 2004 01:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182174#M163096</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-04T01:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: about shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182175#M163097</link>
      <description>&lt;BR /&gt;you can also  do a &lt;BR /&gt;&lt;BR /&gt;#ps &lt;BR /&gt;&lt;BR /&gt;and check for the largest pid used by  a shell.That is the shell you are working.&lt;BR /&gt;&lt;BR /&gt;ex.&lt;BR /&gt; 24917 pts/te    0:00 ps&lt;BR /&gt; 22839 pts/te    0:00 telnetd&lt;BR /&gt; 22840 pts/te    0:00 sh&lt;BR /&gt; 24916 pts/te    0:00 ksh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;here i am now working on ksh.24916 is the latest process than 22840</description>
      <pubDate>Wed, 04 Feb 2004 01:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182175#M163097</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-04T01:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: about shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182176#M163098</link>
      <description>Actually, the portable way to do it, regardless of what shell you happen to be in at the time is.&lt;BR /&gt; &lt;BR /&gt;echo $0</description>
      <pubDate>Wed, 04 Feb 2004 01:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182176#M163098</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-04T01:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: about shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182177#M163099</link>
      <description>Or: ps -p $$&lt;BR /&gt;If your only interested in the shell itself: ps -p $$ | awk '{print $NF}'&lt;BR /&gt;$$ contains the process number of your current shell.&lt;BR /&gt;&lt;BR /&gt;$SHELL is set when logging in, but if you start a subshell it will not get updated. $$ will.</description>
      <pubDate>Wed, 04 Feb 2004 01:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182177#M163099</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-02-04T01:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: about shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182178#M163100</link>
      <description>'echo $0' does not work with the csh... Bear that in mind.</description>
      <pubDate>Wed, 04 Feb 2004 02:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-shell/m-p/3182178#M163100</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-02-04T02:27:08Z</dc:date>
    </item>
  </channel>
</rss>

