how to use manpath command with its examples

  • About manpath : To format and display the on-line manual pages
  • It comes from “man-1.6” package.
  • Configuration Files:
  • Path: /usr/bin/manpath


1. To see the manual for a command

$ manpath command
$ manpath ls 

2. To Specify the configuration file to use; the default is /etc/manpath.config

$ manpath -C  config_file

 3. To Specify  the  list  of directories to search for man pages

$ manpath -M path

 4. To Specify which pager to use

$ manpath -P pager

 6. To specify  which  browser to use on HTML files

$ manpath -B

 7. To Specify a commanpathd that renders HTML files as text

$ manpath -H

8. To List  is  a  colon separated list of manpathual sections to search.

$ manpath -S section_list

 9. To display all the manpathual pages that match name

$ manpath -a

10. To Reformat  the source manpath page, even when an up-to-date cat page exists

$ manpath -c

 11. To don’t actually display the manpath pages, but do print gobs of debugging information

$ manpath -d

12. To display and print debugging info

$ manpath -D

 13. To display in whatis format

$ manpath -f

 14. Just to format and not to display

$ manpath -F
$ manpath –preformat 

15. To print a help message and exit

$ manpath -h

 16. To search for specified key in all manpath pages

$ manpath -K

17. To specify an alternate set o manpath pages

$ manpath -m system

18. To Specify  the  sequence  of pre-processors to run before nroff or troff

$ manpath -p string

 19. To use /usr/bin/groff -Tps -manpathdoc to format the manpathual page

$ manpath -t


Leave a Reply

Your email address will not be published. Required fields are marked *