- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Posix vs Ksh shells
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
06-30-2004 10:51 AM
06-30-2004 10:51 AM
Posix vs Ksh shells
I'm wondering what the difference is between posix (/usr/bin/sh) vs ksh (/usr/bin/ksh) in HP-UX 11.0.
I'm trying to run a command at the command line that is over 256 characters. When I paste it from Notepad to my terminal window (posix shell), it won't paste in the whole command. Yet if I try pasting into a korn shell window, it works fine! I thought that posix shell handles everything that korn does, and more. Anyone know why the pasting of a long line won't work in posix? I had the posix shell set as default shell for my user account. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 10:56 AM
06-30-2004 10:56 AM
Re: Posix vs Ksh shells
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=148452
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 10:57 AM
06-30-2004 10:57 AM
Re: Posix vs Ksh shells
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 10:59 AM
06-30-2004 10:59 AM
Re: Posix vs Ksh shells
Yes POSIX is a superset of ksh but this is command-wise. The commands running on ksh will run on POSIX and then some, but when it comes to the environmental settings, subset/superset conmcepts do not conform with the concept.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 07:02 PM
06-30-2004 07:02 PM
Re: Posix vs Ksh shells
Check out this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=611474
Also, take a look at these links for a very detailed comparison of features of all the shells:
a) http://www.cee.odu.edu/uclhd/uclhd_unix_different_shell.php#shell_feature
b) http://bcebhagalpur.net/tutorials/shell/shell.htm
c) http://cbbrowne.com/info/unixshells.html
HTH.
Regards,
Sri Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 11:32 PM
07-05-2004 11:32 PM
Re: Posix vs Ksh shells
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 01:01 AM
07-06-2004 01:01 AM
Re: Posix vs Ksh shells
http://docsrv.sco.com/DIFFS/UNIX95_Conformance.html
From: http://www.dartmouth.edu/~rc/classes/ksh/print_pages.shtml
POSIX 1003.2 Shell Standard.
Standards committees worked over the Bourne shell and added many features of the Korn shell (ksh88) and C shell to define a standard set of features which all compliant shells must have. On most systems, /bin/sh is now a POSIX compliant shell. Korn shell and Bash are POSIX compliant, but have many features which go beyond the standard. On Solaris, the POSIX/XPG4 commands which differ slightly in behaviour from traditional SunOS commands are located in /usr/xpg4/bin
http://www.sniffer.net/bookshelf_do_sniffer/unix/ksh/appa_02.htm
Rgds...Geoff