- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Shell Question.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2002 04:15 PM
08-12-2002 04:15 PM
One of my developers has written a script that would run as /sbin/sh. Is this not the root's shell?? Would there be any disadvantages of that approach? Please Advise.
Thanks
Joe.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2002 04:36 PM
08-12-2002 04:36 PM
Re: Shell Question.
(1) /sbin/sh is not just a shell used by root, any "normal" user could use it.
(2) real developers don't use "sh", they code in perl :-)))))
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2002 06:07 PM
08-12-2002 06:07 PM
Re: Shell Question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 04:49 AM
08-13-2002 04:49 AM
Re: Shell Question.
I would suggest that you have the developer find a different way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 07:31 AM
08-13-2002 07:31 AM
Re: Shell Question.
Are they any disadvantages of using /sbin/sh?
Thanks
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 07:33 AM
08-13-2002 07:33 AM
Re: Shell Question.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 07:35 AM
08-13-2002 07:35 AM
Re: Shell Question.
This document may explain you better - http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000060946454
Doc ID - A5804466B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 07:35 AM
08-13-2002 07:35 AM
Re: Shell Question.
/usr/bin/sh can be found on any modern unix system, /sbin/... is local to the OS vendor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 07:36 AM
08-13-2002 07:36 AM
SolutionClay has already provided the answer to your last question: "The version in /usr/bin uses shared libraries and is thus more memory efficient."
Generally one should use the version in '/usr/bin' for this reason, unless you have scripts that will run in situations where '/usr' isn't mounted (also noted above in earlier posts).
Beyond these guidelines, the choice is really yours. However, do *not* change the default shell of 'root'!!! It must be '/sbin/sh' for a bootable system!!!
Regards!
...JRF...