Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

8 bytes added, 10:04, 10 March 2021
Using Control Flow Statements in Shell Scripts
<table align="right"><tr valign="top"><td>[[Image:logic-1.png|thumb|right|250px|Example of using the '''if''' logic control-flow statement.]]</td><td>[[Image:loop-1.png|thumb|right|250px|Example of using the '''for''' looping control-flow statement.]]</td></table>
<br><br>
There are several logic statements, but we will just concentrate on the if statement.
<pre style="width:20%">
13,420
edits