Operating System - HP-UX
1834942 Members
2225 Online
110071 Solutions
New Discussion

Re: Problem with some commands

 
SOLVED
Go to solution
Denver Osborn
Honored Contributor

Re: Problem with some commands

I see... we're still there with the fix... set PAGER to /tmp/more... your last try PAGER wasn't set and it tried to use the "bad" /usr/bin/more.

Anyhow, I'd feel safe if you copied or moved /tmp/more and /tmp/man to /usr/bin now and tested.

-denver
Victor_138
Regular Advisor

Re: Problem with some commands

kcspecdp # export PAGER=/tmp/more
kcspecdp # ls -l|more
sh: more: Execute permission denied.
kcspecdp #

After:
kcspecdp # cp more /usr/bin
kcspecdp # cp man /usr/bin

Result:
Both worked fine!

Thank you very much!