Common Commands & Syntax:

Note: Commands are case sensitive
man - One of the most important commands, man (short for manual pages) provides helpful documentation. Appending the command in question to man brings up the commands “man pages.” For example, man ls accesses the manual pages for the ls command. The format of the man pages is generally in the following format:

NAME

The name of the command or function, followed by a one-line description of what it does.

SYNOPSIS

In the case of a command, a formal description of how to run it and what command line options it takes. For program functions, a list of the parameters the function takes and which header file contains its declaration.

DESCRIPTION

A textual description of the functioning of the command or function.

EXAMPLES

Some examples of common usage.

SEE ALSO

A list of related commands or functions.

COMMAND

image of entering 'man ls' command in terminal

OUTPUT

image of output of 'man ls' command in terminal

Next Page