Category:Linux Command Line Tools

From Christoph's Personal Wiki
Revision as of 04:17, 18 June 2007 by Christoph (Talk | contribs)

Jump to: navigation, search

This category will contain information on Linux command line tools, which operate via a command line interface (or CLI; sometimes incorrectly referred to as the "Command Prompt").

A program that implements such interface is often called a command line interpreter or shell. Examples include the various Unix shells (sh, ksh, csh, tcsh, bash, etc.). All "tools" listed in this category would be executed via a shell.

Anatomy of a CLI

The commands given to a CLI are often of the form:

[doSomething] [how] [toFiles]


[doSomething] [how] [sourceFile] [destinationFile]


[doSomething] [how] < [inputFile] > [outputFile]


[doSomething] [how] | [doSomething] [how] | [do Something] [how] > [outputFile]

doSomething is, in effect, a verb, how an adverb (for example, should the command be executed "verbosely" or "quietly") and toFiles an object or objects (typically one or more files) on which the command should act. The '>' in the second example is a redirection operator, telling the command line interpreter to send the output of the command not to the screen but to the file named on the right of the '>'. Another redirection operator is the pipe ('|'), which tells the CLI to use the output of one command as the input to the next command; this "operator-stream" mechanism can be very powerful.


This category has the following 2 subcategories, out of 2 total.

Pages in category "Linux Command Line Tools"

The following 166 pages are in this category, out of 166 total.