[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
A simple shell command such as echo a b c
consists of the command
itself followed by arguments, separated by spaces.
More complex shell commands are composed of simple commands arranged together in a variety of ways: in a pipeline in which the output of one command becomes the input of a second, in a loop or conditional construct, or in some other grouping.
3.2.1 Simple Commands The most common type of command. 3.2.2 Pipelines Connecting the input and output of several commands. 3.2.3 Lists of Commands How to execute commands sequentially. 3.2.4 Looping Constructs Shell commands for iterative action. 3.2.5 Conditional Constructs Shell commands for conditional execution. 3.2.6 Grouping Commands Ways to group commands.