unix View the Manual Pages Find a man page in a different section


Sometimes a term is defined in multiple sections of the manual. By default, man will only display the first page it finds, which can be annoying for programmers because C functions are documented in a later section than commands and system calls. Use the following to display all pages that match a name:

$ man -wa printf

To view the page from a specific section, simply place it before the term:

man 3 printf