<?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: Shell Question. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784664#M78112</link>
    <description>I think a bigger question is why a developer would want to do this in the first place? If he is trying to implement some sort of startup shell there are better ways to do it than to replace the basic system software, for example, modify users .profile to run the new shell would be my choice.&lt;BR /&gt;&lt;BR /&gt;I would suggest that you have the developer find a different way.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 13 Aug 2002 11:49:18 GMT</pubDate>
    <dc:creator>Don Spare</dc:creator>
    <dc:date>2002-08-13T11:49:18Z</dc:date>
    <item>
      <title>Shell Question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784661#M78109</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;  One of my developers has written a script that would run as /sbin/sh. Is this not the root's shell?? Would there be any disadvantages of that approach? Please Advise.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Joe.</description>
      <pubDate>Mon, 12 Aug 2002 23:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784661#M78109</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2002-08-12T23:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784662#M78110</link>
      <description>&lt;BR /&gt;(1) /sbin/sh is not just a shell used by root, any "normal" user could use it.&lt;BR /&gt;&lt;BR /&gt;(2) real developers don't use "sh", they code in perl :-)))))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 12 Aug 2002 23:36:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784662#M78110</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-08-12T23:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784663#M78111</link>
      <description>/sbin/sh is still the POSIX shell and is just as functional as /usr/bin/sh; the difference is that /sbin/sh is statically linked and thus will run before shared libraries (e.g. /usr/lib/xxx) become available in single-user mode. The version in /usr/bin uses shared libries and is thus more memory efficient. The /usr/bin version is the one that should be used unless this script needs to run before /usr is mounted. Many people mistakenly believe that /sbin/sh is the Bourne shell but that is not the case.</description>
      <pubDate>Tue, 13 Aug 2002 01:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784663#M78111</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-13T01:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784664#M78112</link>
      <description>I think a bigger question is why a developer would want to do this in the first place? If he is trying to implement some sort of startup shell there are better ways to do it than to replace the basic system software, for example, modify users .profile to run the new shell would be my choice.&lt;BR /&gt;&lt;BR /&gt;I would suggest that you have the developer find a different way.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Aug 2002 11:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784664#M78112</guid>
      <dc:creator>Don Spare</dc:creator>
      <dc:date>2002-08-13T11:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784665#M78113</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt; Are they any disadvantages of using /sbin/sh?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Joe.</description>
      <pubDate>Tue, 13 Aug 2002 14:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784665#M78113</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2002-08-13T14:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784666#M78114</link>
      <description>As Clay pointed out, the version in /usr/bin is more memory efficient.  Other than that, I can't think of any disadvantage.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 13 Aug 2002 14:33:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784666#M78114</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-08-13T14:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784667#M78115</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;This document may explain you better - &lt;A href="http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000060946454" target="_blank"&gt;http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000060946454&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Doc ID - A5804466B</description>
      <pubDate>Tue, 13 Aug 2002 14:35:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784667#M78115</guid>
      <dc:creator>Sajid_1</dc:creator>
      <dc:date>2002-08-13T14:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784668#M78116</link>
      <description>... other reason: portability&lt;BR /&gt;&lt;BR /&gt;/usr/bin/sh can be found on any modern unix system, /sbin/... is local to the OS vendor</description>
      <pubDate>Tue, 13 Aug 2002 14:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784668#M78116</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-08-13T14:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784669#M78117</link>
      <description>Hi Joe:&lt;BR /&gt;&lt;BR /&gt;Clay has already provided the answer to your last question: "The version in /usr/bin uses shared libraries and is thus more memory efficient." &lt;BR /&gt;&lt;BR /&gt;Generally one should use the version in '/usr/bin' for this reason, unless you have scripts that will run in situations where '/usr' isn't mounted (also noted above in earlier posts).&lt;BR /&gt;&lt;BR /&gt;Beyond these guidelines, the choice is really yours.  However, do *not* change the default shell of 'root'!!!  It must be '/sbin/sh' for a bootable system!!!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 13 Aug 2002 14:36:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-question/m-p/2784669#M78117</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-08-13T14:36:48Z</dc:date>
    </item>
  </channel>
</rss>

