Unix Technical Forum

Difference between /sbin/sh and /usr/bin/sh

This is a discussion on Difference between /sbin/sh and /usr/bin/sh within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Under HPUX 10.20 and higher, is there a difference between /sbin/sh and /usr/bin/sh or are they the same? -- ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 05:18 PM
Mike Shapp
 
Posts: n/a
Default Difference between /sbin/sh and /usr/bin/sh

Under HPUX 10.20 and higher, is there a difference between /sbin/sh and
/usr/bin/sh or are they the same?
--
Mike Shapp
mikeshapp@yahoo.com


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 05:18 PM
Frank Slootweg
 
Posts: n/a
Default Re: Difference between /sbin/sh and /usr/bin/sh

Mike Shapp <mikeshapp@yahoo.com> wrote:
> Under HPUX 10.20 and higher, is there a difference between /sbin/sh and
> /usr/bin/sh or are they the same?


/sbin/sh is statically linked (i.e. no shared libraries) so that it
can run without /usr mounted, and has no local language support. root
*MUST* have /sbin/sh as hir shell.

/usr/bin/sh is dynamically linked (i.e. uses shared libraries), and
has local language support. /usr/bin/sh is the/a shell for mortals.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:44 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com