man - read manual pages
$ man page
$ man section page
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.
-P pager
, --pager pager
: Pager to pipe the man page toTo 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
man
looks for man pages under /usr/share/man
. For example, this man page should be located at /usr/share/man/man1/man.md
.