13,420
edits
Changes
→KEY CONCEPTS
<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>
[[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])]]