13,420
edits
Changes
→Using Control Flow Statements in Shell Scripts
===Using Control Flow Statements in Shell Scripts===
<table align="right"><tr valign="top"><td>[[Image:test-1.png|thumb|right|150px|Examples of simple comparisons using the test command.]]</td><td>[[Image:test-2.png|thumb|right|150px|Examples of using additional comparisons using the test command.]]</td></table>Control Flow Statement are used to make your shell scripts more flexible and can adapt to changing situations.
You CANNOT use the '''>''' or '''<''' symbols when using the test command since these are redirection symbols. Instead, you need to use options when performing numerical comparisons.