Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 825 Bytes

011-the-help-command.md

File metadata and controls

31 lines (27 loc) · 825 Bytes

The help command

The help command displays information about builtin commands. Display information about builtin commands.

If a PATTERN is specified, this command gives detailed help on all commands matching the PATTERN, otherwise the list of available help topics is printed.

Syntax

$ help [-dms] [PATTERN ...]

Options

Option Description
-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 the provided PATTERN.

Examples of uses:

  1. We get the complete information about the cd command
$ help cd
  1. We get a short description about the pwd command
$ help -d pwd
  1. We get the syntax of the cd command
$ help -s cd