Beginner Package: man-db

man

Read a command's manual page.

Syntax

man [section] command

Description

man opens the full reference manual for a command, installed locally so it works offline, and is the most authoritative source for a command's exact options — always worth checking before trusting a remembered flag.

Examples

man ls
Open the manual page for a command
man -k network
Search manual page descriptions for a keyword
man 5 crontab
Open a specific manual section (5 = file formats, here crontab's syntax)

Applies to

Ubuntu Debian Linux Mint RHEL CentOS / Rocky / AlmaLinux Fedora Arch Linux openSUSE Alpine Linux