Changes

Jump to: navigation, search

Tutorial12: Shell Scripting - Part 2

No change in size, 08:31, 27 July 2020
Additional Loop Statements
<span style="font-family:courier">for x in $(ls)<br>do<br> &nbsp;&nbsp;&nbsp;echo “The item is: $x”<br>done</span><br><br>
[[Image:while-loop.png|thumb|right|300px170px|Example of how a '''while''' loop works.]]'''while Loop Statement'''
The condition/expression is evaluated, and if the condition/expression is true,<br>the code within … the block is executed.
13,420
edits

Navigation menu