Operating System - HP-UX
1753865 Members
7535 Online
108809 Solutions
New Discussion юеВ

need to access bourne shell on 11iv2

 
gobi_1
Frequent Advisor

need to access bourne shell on 11iv2

hi our old server has this path /usr/old/bin/sh.
we have a new server running 11iv2 and the /usr/old/bin/sh is not available and one of the application need that path for application configuration. Hope someone can figure this out. Thanks
3 REPLIES 3
avizen9
Esteemed Contributor

Re: need to access bourne shell on 11iv2

hello gobi,
type which sh
and check what is full path for sh and then you can create a symbolic link with that path to usr/old/bin/sh.
Dennis Handly
Acclaimed Contributor

Re: need to access bourne shell on 11iv2

The bourne shell is dead.
I would suggest your change the script(s) to use a real shell:
#!/usr/bin/sh
Pete Randall
Outstanding Contributor

Re: need to access bourne shell on 11iv2

Do a man on sh:

NOTE : The Bourne shell (/usr/old/bin/sh) is removed from the system starting with HP-UX 11i Version 1.5. Please use the POSIX shell (/usr/bin/sh) as an alternative.


It's very difficult to find what isn't there. You might want to try the alternative, as suggested.


Pete

Pete