• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

manpath Command Examples in Linux

by admin

manpath command attempts to determine the path to manual pages. It checks $MANPATH first; if that is not set, consult /etc/man.conf, user environment variables, and the current working directory. The manpath command is a symbolic link to man and is equivalent to ‘man –path’. Most of the options are ignored for manpath.

manpath Command Examples

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 

5. To specify which browser to use on HTML files:

# manpath -B 

6. To Specify a commanpathd that renders HTML files as text:

# manpath -H 

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

# manpath -S section_list 

8. To display all the manpathual pages that match name:

# manpath -a 

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

# manpath -c 

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

# manpath -d 

11. To display and print debugging info:

# manpath -D 

12. To display in whatis format:

# manpath -f 

13. Just to format and not to display:

# manpath -F
# manpath --preformat 

14. To print a help message and exit:

# manpath -h 

15. To search for specified key in all manpath pages:

# manpath -K 

16. To specify an alternate set o manpath pages:

# manpath -m system 

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

# manpath -p string 

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

# manpath -t 

Filed Under: Linux

Some more articles you might also be interested in …

  1. backlight_control Command Examples in Linux
  2. setfacl: command not found
  3. pacman –files Command Examples
  4. nano: command not found
  5. UNIX/Linux : Access control lists (ACLs) basics
  6. ASMLib-Managed Disks on Multipathed iSCSI Targets are not Discovered after Server Reboot in CentOS/RHEL 7
  7. CentOS / RHEL 7 : How to boot into Rescue Mode or Emergency Mode
  8. CentOS / RHEL 7 : How to set date, time / NTP and timezone using timedatectl
  9. md5sum Command Examples in Linux
  10. debootstrap: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright