# Man Pages

## Description

* The Man Pages on Linux essentially document everything. It's a manual for all things Linux - *commands, functions, system calls, etc.*

## Using the Man Pages

* `man nmap` - Will give you detailed information on the nmap tool.

```
NMAP(1)                      Nmap Reference Guide                      NMAP(1)

NAME
       nmap - Network exploration tool and security / port scanner

SYNOPSIS
       nmap [Scan Type...] [Options] {target specification}

DESCRIPTION
       Nmap (“Network Mapper”) is an open source tool for network exploration
[SNIP]
```

* `man -k ssh` - This searches man for the keyword, ssh. It is equivalent to `apropos`.

```
└──╼ $man -k ssh
authorized_keys (5)  - OpenSSH daemon
ciscodump (1)        - Provide interfaces to capture from a remote Cisco rout...
git-shell (1)        - Restricted login shell for Git-only SSH access
Net::DNS::RR::SSHFP (3pm) - DNS SSHFP resource record
Net::SSH2 (3pm)      - Support for the SSH 2 protocol via libssh2.
[SNIP]
```

* `apropos 'ssh daemon'` - This is equivalent to `man -k`.

```
└──╼ $apropos 'ssh daemon'
authorized_keys (5)  - OpenSSH daemon
sshd (5)             - OpenSSH daemon
sshd (8)             - OpenSSH daemon
sshd_config (5)      - OpenSSH daemon configuration file
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.techwithtyler.dev/operating-systems/linux/man-pages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
