Changes

Jump to: navigation, search

Tutorial12: Shell Scripting - Part 2

8 bytes added, 08:33, 5 September 2020
Additional Loop Statements
The '''while''' loop is useful to loop based on the result from a test condition or command result. This type of loop is very useful for '''error-checking'''.<br><br>''How it Works:''<br>The condition/expression is evaluated, and if the condition/expression is true,<br>the code within … the block is executed.
This repeats until the condition/expression becomes FALSE.<br>Reference: https://en.wikipedia.org/wiki/While_loop<br><br>
''Example:''
13,420
edits

Navigation menu