Open main menu

CDOT Wiki β

Changes

Tutorial12: Shell Scripting - Part 2

21 bytes removed, 09:03, 27 July 2020
Additional Logic Statements
===Additional Logic Statements===
<br>
[[Image:if-else.png|thumb|right|300px|Examples Example of using how an '''Environmentif-else''' and '''User Defined''' variablesstatement works.]]'''if-else Statements'''
If the test condition returns a TRUE value, then the Linux Commands between then and else statements are executed.<br>If the test returns a FALSE value, then the the Linux Commands between the else and fi statements are executed.
13,420
edits