ladybird/Base/usr/share/man/man1/man.md
kleines Filmröllchen 98c0c5e9e6 Help+Base: Add help://man URLs for links between man pages
The URLs of the form `help://man/<section>/<page>` link to another help
page inside the help application. All previous relative page links are
replaced by this new form. This doesn't change any behavior but it looks
much nicer :^)

Note that man doesn't handle these new links, but the previous relative
links didn't work either.
2022-01-11 00:24:57 +01:00

1 KiB

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.

Sections

The SerenityOS manual is split into the following sections, or chapters:

  1. User programs
  2. System calls
  3. Libraries
  4. Special files
  5. File formats
  6. Games
  7. Miscellanea
  8. Sysadmin tools

Sections are subject to change in the future.

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