From: roman@portal.stwing.upenn.edu (Roman Gollent)
Subject: Re: What's the difference between /bin/sh and /sbin/sh?
Date: 1996/09/09 [thread overview]
Message-ID: <5124tt$lm7@netnews.upenn.edu> (raw)
In-Reply-To: 511s1p$qad@solaris.cc.vt.edu
In article <511s1p$qad@solaris.cc.vt.edu>,
Randy Marchany <marchany@vtserf.cc.vt.edu> wrote:
| On a DEC Unix 4.0 (or 3.2c), I have:
|
| u> ls -l /bin/sh
| -rwxr-xr-x 2 bin bin 131072 May 20 00:42 /bin/sh
| u> ls -l /sbin/sh
| -rwxr-xr-x 2 bin bin 270336 May 20 00:10 /sbin/sh
|
| They both appear to be Bourne Shells but what's the difference between
| them? The one in /sbin is much larger. Thanks.
One is dynamically linked, the other one isn't:
morpheus.dccs.upenn.edu> file /sbin/sh
/sbin/sh: COFF format alpha demand paged executable or object
module stripped - version 3.11-10
morpheus.dccs.upenn.edu> file /bin/sh
/bin/sh: COFF format alpha dynamically linked, demand paged
executable or object module stripped - version 3.11-10
Roman
next prev parent reply other threads:[~1996-09-09 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-09 4:00 What's the difference between /bin/sh and /sbin/sh? Randy Marchany
1996-09-09 4:00 ` Roman Gollent [this message]
1996-09-11 4:00 ` Gleb O. Raiko
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox