Linux help command

Updated: 05/04/2019 by Computer Hope
help command

On Unix-like operating system shells, the help command displays information about builtin commands.

This page covers the bash built-in help command.

Description

help 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.

Syntax

help [-dms] [PATTERN ...]

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.

man — Display the manual page of a given command.