- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Bourne vs Korn
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
01-31-2003 11:06 AM
01-31-2003 11:06 AM
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 11:09 AM
01-31-2003 11:09 AM
Re: Bourne vs Korn
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 11:11 AM
01-31-2003 11:11 AM
Re: Bourne vs Korn
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 11:14 AM
01-31-2003 11:14 AM
Re: Bourne vs Korn
If your shell is /usr/bin/sh then you're actually running the POSIX shell & it DOES have that functionality.
If you're running /usr/old/bin/sh then you're running the Bourne shell and I don't believe it has that ability.
You *should* be running POSIX as it has many enhancements above & beyond Bourne.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 11:17 AM
01-31-2003 11:17 AM
SolutionThe Bourne shell is obsolete and lacks many of the functions found in more modern shells.
In HP-UX the Bourne shell is actually found in '/usr/old/bin/sh'.
Whatever you do, *never* change root's shell from the Posix shell ('/sbin/sh'). To do so will mean that you will have an unbootable system.
The Posix shell as '/usr/bin/sh' or /sbin/sh' offers a superset of Korn functionality. The former ('/usr/bin/sh') uses dynamically linked libraries to share and conserve resources but requires the '/usr/ filesystem to be mounted to link to those libraries. That's why you have the statically linked executable in '/sbin/sh' to use when '/usr' isn't mounted, as at bootup!
Too, don't create an alias called "reboot". You want to be able to use 'reboot' *and* 'shutdown'. In reality 'shutdown' calls 'reboot' as one of its last task's.
You *can* create a user called "reboot" and make its default shell a wrapper to 'shutdown'. I think this is what your really want to do.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 12:11 PM
01-31-2003 12:11 PM
Re: Bourne vs Korn
spike