terminal.cab
No.
30
Date
Learning goal
Terminal Start, lesson 8
Level
1 of 3

Command of the day No. 30: man and --help

Purpose: Opens the manual or a short help for a command.

Syntax: man command, command --help

Example:

man ls
NAME
       ls - lists what is in a directory

SYNOPSIS
       ls [OPTION]... [FILE]...
Manual page ls(1) line 1 (press q to quit)

Shows the screen of the program in a terminal 6 lines high.

Options:

Distributions: Small server and container images often ship without manual pages; --help still works there.

Try it in the terminal Share image

Fills in the command. Nothing runs until you press Enter. In the manual, Space turns the page, /word searches and q quits. For the short version type ls --help.

Command of the day No. 30: man and --help. Purpose: Opens the manual or a short help for a command. Example: man ls. Remember: Stuck? --help for a quick look, man for the details.
The same card as an image, 1080 x 1350 pixels.

Today's card ยท All cards so far