---

Quick guide Bash while loop with examples

Loops plays an important role in bash scripting. After For Loop another loop comes in to picture is Bash while loop. Basically Bash while loop executes sets of command till any condition is satisfied. Once condition turns false execution flow gets out of the bash while loop.