13,420
edits
Changes
→Additional Loop Statements
<span style="font-family:courier;font-weight:bold;">for x in $(ls)<br>do<br> echo “The item is: $x”<br>done</span><br><br>
'''While Loops:'''
[[Image:while-loop.png|thumb|right|170px|Example of how a '''while''' loop works.<br>(Image licensed under [https://creativecommons.org/licenses/by-sa/3.0/ cc])]]