Operating System - HP-UX
1833043 Members
2417 Online
110049 Solutions
New Discussion

POSIX the default shell of HP-UX

 
DipuK
Occasional Contributor

POSIX the default shell of HP-UX

Hi,
POSIX shell is the default shell in HP-UX.
sh is bourne shell
ksh is Korne shell
csh is C shell
Can any body tell me what is the executable for POSIX shell

Cheers!!!

Dipu

3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: POSIX the default shell of HP-UX

Dipu,

Actually sh is the POSIX shell, the Bourne shell is buried in /usr/old/bin/sh.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: POSIX the default shell of HP-UX

Hi Dipu:

Whatever you do, don't ever change root's default shell from '/sbin/sh' to anything else, including '/usr/bin/sh'. '/sbin/sh' is the Posix shell with statically linked libraries for use when '/usr' isn't mounted. '/usr/bin/sh' is the Posix shell with dynamically linked libraries. Hence it's runtime environment is smaller, and is suited as the Posix shell for all non-root users.

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: POSIX the default shell of HP-UX

The actual executables for the POSIX shell are /sbin/sh and /usr/bin/sh.