Skip to content
BENIBIX Learn

man Page

Infrastructure⌨️ Linux & the Command LineCommand Line

Also known as Manual Page, man Command, Linux Manual

The built-in help page for a command. Type man and the command's name.

Think of it like

Think of it like the little book that comes in the box with a new toy. It tells you every button.

Example

Jack forgets what ls -t does. He types man ls, finds the line for -t and learns it sorts by time.

Why it matters

It gives the true answer fast. It also matches the version on your own machine.

Definition

A man page is the built-in help page for a command. You type man and then the name of the command. It shows what the command does and every option it takes. You scroll with the arrow keys and press q to leave. Almost every Linux command has one, and it works with no internet.

Example code

console
$ man ls
LS(1)                 User Commands                 LS(1)

NAME
       ls - list directory contents
The help page for ls opens. Its first part says what the command is for.
A help page has the same parts every time. The name, how to type it, and what each option does.

Common mistake

Getting stuck inside the page. Press q to quit and get the prompt back.

Key takeaways

  1. 1
    Built in. Works with no internet.
  2. 2
    Every option. Lists all the flags a command takes.
  3. 3
    Press q. That is how you leave.

Learn it properly