LinuxCommandLibrary

help

displays information about shell builtin commands

TLDR

Get help for builtin

$ help [cd]
copy
List all builtins
$ help
copy
Short description
$ help -d [command]
copy
Man page format
$ help -m [command]
copy
Show usage synopsis
$ help -s [command]
copy

SYNOPSIS

help [options] [pattern]

DESCRIPTION

help displays information about shell builtin commands. It's a Bash builtin that provides documentation for commands built into the shell.
The command shows usage, options, and descriptions for Bash builtins. It's useful for learning about commands like cd, export, and source.

PARAMETERS

PATTERN

Shell builtin name or pattern.
-d
Short description only.
-m
Man page format.
-s
Usage synopsis only.

CAVEATS

Bash specific. Only for builtins, not external commands. Use man for external commands.

HISTORY

help has been part of Bash since early versions, providing built-in documentation for shell commands.

SEE ALSO

man(1), info(1), bash(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community