* What's the difference between /bin/sh and /sbin/sh?
@ 1996-09-09 4:00 Randy Marchany
1996-09-09 4:00 ` Roman Gollent
1996-09-11 4:00 ` Gleb O. Raiko
0 siblings, 2 replies; 3+ messages in thread
From: Randy Marchany @ 1996-09-09 4:00 UTC (permalink / raw)
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.
-Randy Marchany
VA Tech Computing Center
Blacksburg, VA 24060
Email: randy.marchany@vt.edu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What's the difference between /bin/sh and /sbin/sh?
1996-09-09 4:00 What's the difference between /bin/sh and /sbin/sh? Randy Marchany
@ 1996-09-09 4:00 ` Roman Gollent
1996-09-11 4:00 ` Gleb O. Raiko
1 sibling, 0 replies; 3+ messages in thread
From: Roman Gollent @ 1996-09-09 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What's the difference between /bin/sh and /sbin/sh?
1996-09-09 4:00 What's the difference between /bin/sh and /sbin/sh? Randy Marchany
1996-09-09 4:00 ` Roman Gollent
@ 1996-09-11 4:00 ` Gleb O. Raiko
1 sibling, 0 replies; 3+ messages in thread
From: Gleb O. Raiko @ 1996-09-11 4:00 UTC (permalink / raw)
Randy Marchany 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
/sbin/sh is statically linked and /bin/sh is dynamically linked
file /bin/sh
/bin/sh: COFF format alpha dynamically linked, demand paged
executable or object module stripped - version 3.11-10
file /sbin/sh
/sbin/sh: COFF format alpha demand paged executable or object
module stripped - version 3.11-10
Regards,
Gleb.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-09-11 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-09 4:00 What's the difference between /bin/sh and /sbin/sh? Randy Marchany
1996-09-09 4:00 ` Roman Gollent
1996-09-11 4:00 ` Gleb O. Raiko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox