[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.2.4 Compound Commands
3.2.4.1 Looping Constructs | Shell commands for iterative action. | |
3.2.4.2 Conditional Constructs | Shell commands for conditional execution. | |
3.2.4.3 Grouping Commands | Ways to group commands. |
Compound commands are the shell programming constructs. Each construct begins with a reserved word or control operator and is terminated by a corresponding reserved word or operator. Any redirections (see section Redirections) associated with a compound command apply to all commands within that compound command unless explicitly overridden.
Bash provides looping constructs, conditional commands, and mechanisms to group commands and execute them as a unit.