/sbin/sh and /sbin/sh

/sbin/sh and /sbin/sh

Post by Marco David » Thu, 19 Nov 1998 04:00:00



Does anyone know the difference between /sbin/sh and /bin/sh ?

Please send me a copy of your reply by Email.

--
Marco Davids                     +31(0)15 8881000 fax: +31(0)15 8881099

Systemadministrator              http://www.casema.net/~mdavids

 
 
 

/sbin/sh and /sbin/sh

Post by Birger Blix » Thu, 19 Nov 1998 04:00:00



> Does anyone know the difference between /sbin/sh and /bin/sh ?

> Please send me a copy of your reply by Email.

> --
> Marco Davids                     +31(0)15 8881000 fax: +31(0)15 8881099

> Systemadministrator              http://www.casema.net/~mdavids

% file /*bin/sh
/bin/sh:        ELF 32-bit MSB executable SPARC Version 1, dynamically
linked, stripped
/sbin/sh:       ELF 32-bit MSB executable SPARC Version 1, statically
linked, stripped

/BB

--
Error #152 - Windows not found: (C)heer (P)arty (D)ance

 
 
 

/sbin/sh and /sbin/sh

Post by Dominic Mitche » Thu, 19 Nov 1998 04:00:00



Quote:> Does anyone know the difference between /sbin/sh and /bin/sh ?

The one in /sbin is staticallly linked, so it can be used if /usr/ is
offline.
--
Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator
``Damn the philosophy, just provide the functionality and let anyone
  with a competing philosophy come up with some better alternative if
  they don't like it.'' -- JKH
 
 
 

/sbin/sh and /sbin/sh

Post by Eberhard Burka » Thu, 19 Nov 1998 04:00:00



>Does anyone know the difference between /sbin/sh and /bin/sh ?

>Please send me a copy of your reply by Email.

>--
>Marco Davids                     +31(0)15 8881000 fax: +31(0)15 8881099

>Systemadministrator              http://www.casema.net/~mdavids

I think the /sbin/sh is the staticly linked version and /bin/sh the dynamic linked.

Eberhard

 
 
 

/sbin/sh and /sbin/sh

Post by Michel Mo » Thu, 19 Nov 1998 04:00:00


/sbin/sh is in your root-filesystem, bin is in your usr filesystem. If you
ran into trouble with for instance booting and cant get /usr mounted you
always have a shell to run. If /bin/sh is the only shell en /usr is not
wiling to mount you can not ran a shell.
If /usr is within the rootfilesystem you can always use both.

Regards,
Michel Mol


>Does anyone know the difference between /sbin/sh and /bin/sh ?

>Please send me a copy of your reply by Email.

>--
>Marco Davids                     +31(0)15 8881000 fax: +31(0)15 8881099

>Systemadministrator              http://www.casema.net/~mdavids

 
 
 

/sbin/sh and /sbin/sh

Post by guru » Thu, 19 Nov 1998 04:00:00


One difference is that /sbin/sh is a static build, and /bin/sh is
dynamic.

Scott


> Does anyone know the difference between /sbin/sh and /bin/sh ?

> Please send me a copy of your reply by Email.

> --
> Marco Davids                     +31(0)15 8881000 fax: +31(0)15 8881099

> Systemadministrator              http://www.casema.net/~mdavids

 
 
 

/sbin/sh and /sbin/sh

Post by Lars Heckin » Sun, 22 Nov 1998 04:00:00


$ file /sbin/sh /bin/sh
/sbin/sh:       ELF 32-bit MSB executable SPARC Version 1, statically linked, stripped
/bin/sh:        ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped


> Does anyone know the difference between /sbin/sh and /bin/sh ?

> Please send me a copy of your reply by Email.

> --
> Marco Davids                     +31(0)15 8881000 fax: +31(0)15 8881099

> Systemadministrator              http://www.casema.net/~mdavids

 
 
 

1. root's shell, /sbin/sh, /bin/sh and /usr/ksh

|Our users want to change the root shell to /bin/ksh.

On computers where a user who needs root access wants to use a
shell other than /sbin/sh, one option is to create another root
account with the desired shell.  For example (in the /etc/passwd
file, with corresponding entries in the /etc/shadow file):

root:x:0:1:Super-User:/:/sbin/sh
rootksh:x:0:1:Super-User:/:/usr/bin/ksh

But you do have to remember to change both root passwords when
you want to change the root password.

--
------------------------------------------------------------------------

Unsolicited bulk or commercial email is not welcome.             netcom.com
No warranty of any kind is provided with this message.

2. Newbies....Need help...

3. Any difference between /sbin/sh and /bin/sh?

4. 2.6 logical interface havoc: Status ?

5. diff /sbin/sh and /bin/sh?

6. The SO_KEEPALIVE socket option

7. /sbin/sh and /bin/sh

8. PPP reconnect?

9. /bin/sh .vs. /sbin/sh

10. difference between /bin/sh and /sbin/sh

11. /sbin/sh and /bin/sh

12. why /bin/sh and not /sbin/sh

13. PS1, $PWD and /sbin/sh