ladybird/Base/usr/share/man/man1/man.md
Tim Ledbetter 8f253a745e Base: Update man pages for utilities
Man pages for utilities now more closely resemble ArgsParser output
2023-04-01 11:49:57 +01:00

1,004 B

Name

man - read manual pages

Synopsis

$ man page
$ man section page

Description

man finds, loads and displays the so-called manual pages, or man pages for short, from the SerenityOS manual. You're reading the manual page for man program itself right now.

Options

  • -P pager, --pager pager: Pager to pipe the man page to

Examples

To open documentation for the echo command:

$ man echo

To open the documentation for the mkdir command:

$ man 1 mkdir

Conversely, to open the documentation about the mkdir() syscall:

$ man 2 mkdir

Files

man looks for man pages under /usr/share/man. For example, this man page should be located at /usr/share/man/man1/man.md.

See Also

  • less(1) For the terminal pager that man uses by default
  • Help(1) To read these same man pages in a GUI
  • man(7) For an overview on how manpages are organized