Open man-page with less

command linelessmansolaris

Possible Duplicate:
How to let man utility to use less to display manual rather than more?

How can i open up the Man-page for a command with the less-editor?

Alternatively, how can i find the man-page on the harddrive

I've tried using the manpath command but that doesn't seem to exist on solaris. Maybe there is a command to search for the manpage somehow?

Best Answer

  • The man command uses less by default. See man man (hehe). If yours doesn't, you could simply use a pipe like this.

    man myCommand | less