Open main menu

CDOT Wiki β

Changes

Tutorial12: Shell Scripting - Part 2

1 byte added, 06:43, 18 March 2021
KEY CONCEPTS
<span style="font-family:courier;font-weight:bold;">for x in $(ls)<br>do<br> &nbsp;&nbsp;&nbsp;echo “The item is: $x”<br>done</span><br><br>
'''While Loops:'''====WHILE LOOP====
[[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])]]
13,420
edits