- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Difference between ksh and sh
Operating System - Tru64 Unix
1820475
Members
3227
Online
109624
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО10-14-2003 05:00 AM
тАО10-14-2003 05:00 AM
What is the difference betweenthe shells ksh and sh?
also /usr/bin/sh and /bin/sh?
The operating system is Tru64 Unix V 5.1B
Thanks
also /usr/bin/sh and /bin/sh?
The operating system is Tru64 Unix V 5.1B
Thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2003 05:21 AM
тАО10-14-2003 05:21 AM
Solution
It's slightly more complicated than that. /usr/bin/sh is the old bourne shell and doesn't support a lot of stuff that the korn sheel does e.g job control, the [[ test, the $(mycommand) construct and a whole host of other things. The korn shell is far more functional and exciting and support command line editing etc etc etc.
However, Tru64 also has /usr/bin/posix/sh which retains compatbility with the bourne shell and yet has all the exciting functionality of the Korn shell. I believe that ksh is, in fact the posix shell on recent versions of the OS. Which shell you get is determined by the final field in /etc/passwd.
In other words, use the korn shell.
However, Tru64 also has /usr/bin/posix/sh which retains compatbility with the bourne shell and yet has all the exciting functionality of the Korn shell. I believe that ksh is, in fact the posix shell on recent versions of the OS. Which shell you get is determined by the final field in /etc/passwd.
In other words, use the korn shell.
Never preceed any demonstration with anything more predictive than "watch this"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2003 03:02 AM
тАО10-15-2003 03:02 AM
Re: Difference between ksh and sh
The shell ksh use library dynamic and the
sh use library static and this last is adviced for maintenance .
sh use library static and this last is adviced for maintenance .
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP