Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

16 bytes removed, 11:05, 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%">
</pre>
Refer to the diagram immediately to the right for using the '''if logic statement''' with the '''test''' command.
<br><br><br><br><br>
13,420
edits

Navigation menu