- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Shell differences HPUX / SOLARIS
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
Forums
Discussions
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
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
12-05-2002 09:52 AM
12-05-2002 09:52 AM
What is the base shell on HP servers ( bourne, korn or Posix ) ??
We have a SUN server and i would like to have the same shell on it,so that my scripts and commands ( originaly on HP ) can work.
ex : ll or Esc - for history commands
Thank's
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 09:53 AM
12-05-2002 09:53 AM
Re: Shell differences HPUX / SOLARIS
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 09:58 AM
12-05-2002 09:58 AM
Re: Shell differences HPUX / SOLARIS
The Posix shell is the default shell for HP-UX and is found as '/sbin/sh' (staticly linked) or '/usr/bin/sh' (dynamically linked).
See 'man sh' for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 10:34 AM
12-05-2002 10:34 AM
Re: Shell differences HPUX / SOLARIS
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 10:41 AM
12-05-2002 10:41 AM
Re: Shell differences HPUX / SOLARIS
for users you can use the korn shell on both systems, but you still see some differences...
e.g. on HP-UX you complete filenames with ESC ESC, but on Solaris you'll have to type ESC \ or even ESC *
Sorry,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 12:57 PM
12-05-2002 12:57 PM
SolutionThe the vast majority of scripting requirements, the POSIX shell in HP-UX is virtually identical to ksh. But since Solaris's sh is not Posix compliant, I would use /usr/bin/ksh and it will run on both. (note that like HP-UX, Solaris no longer has /bin, it is a link to /usr/bin).
Bill Hassell, sysadmin