Home Linux
 Bash Syntax

man / info / help

Display helpful information about commands.

Syntax
      man [-k] [command]

      man intro

      man bash

      info [command]

      help [-s] [command]

Options

      -s   Short usage synopsis, restricts the information displayed.

      -k   Search by command description rather than command name.

    intro  An overview of basic commands

Press <Space bar> to view the next page
Press <return> to view next line
Press <ctrl-C> to exit

For simplicity, this website includes both internal GNU bash commands and external unix commands in a single list. Many more commands are available and the man command will list the full details of these.

Internal means a command built into the shell, it's the shell that performs the action.
External means the shell will fork and execute an external program as a new subprocess. External commands are available when running any shell.

For example, the cd command is built-in. The ls command, is external.

The man command lists all the internal commands for bash under man bash

"Education is not the filling of a pail, but the lighting of a fire" - W. B. Yeats

Related Linux Bash commands:

more - Display output one screen at a time
less - Display output one screen at a time


Equivalent Windows commands:

HELP command
command /?
command -?
Start Menu, Help



Back to the Top

Simon Sheppard
SS64.com