Lemur zaprasza
Red Hat® Linux 6 Unleashed
Chapter 25: Shell Programming Previous
Sections in this Chapter: Creating and Executing a Shell Program Special Characters Miscellaneous Statements Comparison of Expressions Positional Parameters Iteration Statements Built-In Variables Conditional Statements Previous SectionNext Section Miscellaneous Statements You should be aware of two other statements: the break statement and the exit statement. The break Statement The break statement can be used to terminate an iteration loop, such as a for, until, or repeat command. The exit Statement exit statements can be used to exit a shell program. You can optionally use a number after exit. If the current shell program has been called by another shell program, the calling program can check for the code and make a decision accordingly. Red Hat® Linux 6 Unleashed
Chapter 25: Shell Programming Previous
Sections in this Chapter: Creating and Executing a Shell Program Special Characters Miscellaneous Statements Comparison of Expressions Positional Parameters Iteration Statements Built-In Variables Conditional Statements Previous SectionNext Section © Copyright Macmillan USA. All rights reserved. |