Linux and Unix help command

Quick links

About help
Syntax
Examples
Related commands
Linux and Unix main page

About help

Display information about builtin commands.

Syntax

help [-dms] [PATTERN ...]

Description

Displays brief summaries of shell builtin commands. If PATTERN is specified, gives detailed help on all commands matching PATTERN, otherwise the list of help topics is printed.

Options

-d output short description for each topic.
-m display usage in pseudo-manpage format.
-s output only a short usage synopsis for each topic matching.

Examples

help echo

Display a brief description of the builtin shell command echo.

Related commands

man — Display the manual page of a given command.