Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

No change in size, 11:28, 10 March 2021
Using Control Flow Statements in Shell Scripts
A '''logic statement''' is used to determine which Linux commands<br>are executed basedon the result of a condition:<br>'''TRUE''' (zero value) or '''FALSE''' (non-zero value).
[[Image:logic-1.png|thumb|right|250px210px|Example of using the '''if''' logic control-flow statement.]]
<br>
There are several logic statements, but we will just concentrate on the if statement.
13,420
edits

Navigation menu