<?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: difference between /usr/bin/sh and /sbin/sh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472052#M775600</link>
    <description>Shells under /usr are dynamicaly linked.&lt;BR /&gt;&lt;BR /&gt;/sbin/sh is statically linked so that it will be available situations where non / filesystems are unavailable/umounted.  that is why it should be the default root shell.</description>
    <pubDate>Fri, 08 Dec 2000 14:39:11 GMT</pubDate>
    <dc:creator>Alan Riggs</dc:creator>
    <dc:date>2000-12-08T14:39:11Z</dc:date>
    <item>
      <title>difference between /usr/bin/sh and /sbin/sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472051#M775599</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;can anybody tell me the difference between:&lt;BR /&gt;-r-xr-xr-x   2 bin        bin         221184 Jan 20  2000 /usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;-r-xr-xr-x   1 bin        bin         421888 Jan 20  2000 /sbin/sh&lt;BR /&gt;&lt;BR /&gt;make this any sence ?&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;ralf</description>
      <pubDate>Fri, 08 Dec 2000 14:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472051#M775599</guid>
      <dc:creator>ralf klausch</dc:creator>
      <dc:date>2000-12-08T14:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: difference between /usr/bin/sh and /sbin/sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472052#M775600</link>
      <description>Shells under /usr are dynamicaly linked.&lt;BR /&gt;&lt;BR /&gt;/sbin/sh is statically linked so that it will be available situations where non / filesystems are unavailable/umounted.  that is why it should be the default root shell.</description>
      <pubDate>Fri, 08 Dec 2000 14:39:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472052#M775600</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-12-08T14:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: difference between /usr/bin/sh and /sbin/sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472053#M775601</link>
      <description>/sbin/sh is staticlly link (libraries are linked into the binary)&lt;BR /&gt;&lt;BR /&gt;where as /usr/sbin/sh is dynamic (no libraries)thus it is smaller&lt;BR /&gt;&lt;BR /&gt;you need /sbin/sh in singler user mode as /usr is not mounted thus no libraries are available</description>
      <pubDate>Fri, 08 Dec 2000 14:42:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472053#M775601</guid>
      <dc:creator>Tony Constantine_1</dc:creator>
      <dc:date>2000-12-08T14:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: difference between /usr/bin/sh and /sbin/sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472054#M775602</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;just in addition to Alan's reply:&lt;BR /&gt;&lt;BR /&gt;If you boot into single user mode you will not have /usr mounted nor will you have access to the libraries.&lt;BR /&gt;&lt;BR /&gt;Make sure, that you have /sbin/sh for root in the /etc/passwd file. If you happen to enter /usr/sbin/sh in there your system won't boot up, because it will never find a shell.&lt;BR /&gt;&lt;BR /&gt;Steffi Jones</description>
      <pubDate>Fri, 08 Dec 2000 14:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472054#M775602</guid>
      <dc:creator>Steffi Jones_1</dc:creator>
      <dc:date>2000-12-08T14:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: difference between /usr/bin/sh and /sbin/sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472055#M775603</link>
      <description>thank you all for you fast response.&lt;BR /&gt;&lt;BR /&gt;ralf</description>
      <pubDate>Fri, 08 Dec 2000 14:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472055#M775603</guid>
      <dc:creator>ralf klausch</dc:creator>
      <dc:date>2000-12-08T14:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: difference between /usr/bin/sh and /sbin/sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472056#M775604</link>
      <description>The files in /sbin are used most for minimal system boot up processing when //usr, /var, /opt, etc are not mounted. Progammes under /usr/bin are used when the system is in a run state greater that 1.&lt;BR /&gt;Programmes in /usr directory are mostly called and used by the system in a stable state. You will notice that, the programmes in /usr/sbin are linked to /sbin.</description>
      <pubDate>Fri, 08 Dec 2000 14:49:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472056#M775604</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-12-08T14:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: difference between /usr/bin/sh and /sbin/sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472057#M775605</link>
      <description>Hello Klaus,&lt;BR /&gt;&lt;BR /&gt;there is another difference, for the reasons mentioned&lt;BR /&gt;above:&lt;BR /&gt;the "/sbin/sh" does NOT start with a history, for the&lt;BR /&gt;simple reason of not writing to the file system you might&lt;BR /&gt;be fsck-ing in single-user-mode (root-fs, that is).&lt;BR /&gt;In multi-user-mode you can safely switch on history.&lt;BR /&gt;HTH,&lt;BR /&gt;   Wodisch</description>
      <pubDate>Sun, 10 Dec 2000 02:02:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-usr-bin-sh-and-sbin-sh/m-p/2472057#M775605</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2000-12-10T02:02:40Z</dc:date>
    </item>
  </channel>
</rss>

