View a man page manually

Contributor Icon Contributed by qmchenry Date Icon September 23, 2003  
Tag Icon Tagged: UNIX

Sometimes a man page for a package does not exist in the MANPATH and cannot be seen my the man program. Using nroff to format the text the way that man does is an option to altering your MANPATH variable.


To view a man page file called recipe.1 in the current directory, use:

nroff -man recipe.1 | more

Previous recipe | Next recipe |
 
  • Michilimackinac
    <font color="green">man -M <path> </font>

    This is a good alternative to the nroff which will not work on most man pages on recent versions of solaris which are written in SGML. This command will work on solaris and freebsd.
blog comments powered by Disqus