1835105 Members
2157 Online
110076 Solutions
New Discussion

man command error

 
SOLVED
Go to solution
Ben Li
Advisor

man command error

When I use man command, the system show me the following message:
$man sysdef
Reformatting entry. Wait... done
sh: less: not found

I'm using ksh. Can anyone tell me how to solve this problem?

Thanks
2 REPLIES 2
RikTytgat
Honored Contributor
Solution

Re: man command error

Hi,

This is probably the environment variable PAGER that is set to less instead of more, or less is not in your PATH.

Try 'export PAGER=more' or find the exact location of less and execute 'export PAGER=/full/path/to/less'

Bye,
Rik.
Brian M. Fisher
Honored Contributor

Re: man command error

It looks like the "less" command was substituted for more on your system. Is the less command still installed on your system? Is it in your search path (which less)?

Brian
<*(((>< er
Perception IS Reality