13,420
edits
Changes
→Using Control Flow Statements in Shell Scripts
'''if-else statement:'''
<br>
[[Image:logic-2.png|thumb|right|200px210px|Example of how an '''if-else''' control-flow statement.]]
Unlike using only an ''if'' statement, an '''if-else''' statement take '''two different sets of actions'''<br>based on the results of the test condition.<br><br>