Operating System - HP-UX
1834098 Members
2433 Online
110063 Solutions
New Discussion

fixed_applied_patches script

 
Lee Huei
Regular Advisor

fixed_applied_patches script

Hi,

I tried to execute the scriot above. i can run w.o problem on /sbin/sh but when tried on /usr/bin/csh i have problem complaining abt directory not found for ksh ??

kindly assist.
3 REPLIES 3
Steve Steel
Honored Contributor

Re: fixed_applied_patches script

Hi

Obviously an environment difference.

Since the superuser uses /sbin/sh by default why would you run this in csh.

What is the exact message you get

You probably need the latest shell patches


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Muthukumar_5
Honored Contributor

Re: fixed_applied_patches script

Are you trying for ksh(ell) or csh(ell) there??

If you are trying ksh then first see as,

whereis ksh
/usr/bin/ksh if you see this then,

execute your script on attachment as,

ksh -x <scriptname>

It will execute in debug mode.

what u r getting now?

If you want to run in csh then, change shell directive to which csh output there in first line.
Easy to suggest when don't know about the problem!
Mei Jiao
Respected Contributor

Re: fixed_applied_patches script

What's the exact error message you get when you run on /usr/bin/csh shell ?