13,420
edits
Changes
→Additional Logic Statements
[[Image:if-else.png|thumb|right|300px|Example of how an '''if-else''' statement works.]]'''if-else Statements'''
If the test condition returns a TRUE value, then the Linux Commands between <br>then and else statements are executed.<br><br>If the test returns a FALSE value, then the the Linux Commands between the else and fi statements are executed.
Example: