13,420
edits
Changes
→Additional Logic Statements
[[Image:if-elif-else.png|thumb|right|300px|Example of how an '''if-elif-else''' statement works.]]'''if-elif-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 a new condition is tested,<br>and action is taken if the result is TRUE . Eventually, an action will be taken <br>when the final test condition is FALSE
Example: