Loops allow you to run one or more commands multiple times until a certain condition is met. However, sometimes you may need to alter the flow of the loop and terminate the loop or only the current iteration. In Bash, break and continue statements allows you to control the loop execution.
Source: LXer – Bash break and continue