ladybird/Base/usr/share/man/man1/man.md
Ben Wiederhake f2ba7ac935 Base: Fix Markdown formatting in links to man pages
A quick grep revealed these stats (counting only the first occurrence
per line):

    `thing`(1): 154
    `thing(1)`: 9
    thing(1): 4

This commit converts all occurrences to the `thing`(1) format.
2021-09-11 15:17:44 +02:00

56 lines
1,019 B
Markdown

## Name
man - read manual pages
## Synopsis
```**sh
$ 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:
```sh
$ man echo
```
To open the documentation for the `mkdir` command:
```sh
$ man 1 mkdir
```
Conversely, to open the documentation about the `mkdir()` syscall:
```sh
$ 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)](less.md) For the terminal pager that `man` uses by default