Apple - How can I quickly navigate through man pages in the Terminal

If I understood you correctly, you want to skim through manual pages more efficiently.

By default, man uses less as its pager. In less, you can use:

  • Space or f or Control ⌃-f to advance one page
  • d or Control ⌃-d to advance half a page
  • b or Control ⌃-b to go back one page
  • u or Control ⌃-u to go back half a page

You can get the full list of less keyboard commands in its manual page. If you don't like the default pager, you can set MANPAGER or PAGER environment variables to specify a different program for controlling the pagination of man pages that are longer than one screen.


You can open man pages in a single, scrollable window from Terminal's Help menu. Just type the command into the search field in the Help menu, then click the command in the search results to open its man page. It may occasionally take a few seconds for the command to appear in the search results.

You can also find most man pages online, with Apple-specific man pages found on apple's developer library. I generally google with apple man [command] replacing [command] with the actual command. One nice thing about this method is you can easily bookmark man pages you use frequently.


Shift ⇧-Page Up ⇞ and Shift ⇧-Page Down ⇟ will move man pages a page at a time.

(On a laptop or other smaller keyboard, the keystrokes are usually Shift ⇧-Fn-Up Arrow ↑ and Shift ⇧-Fn-Down Arrow ↓.)

Tags:

Terminal