Команда break
Shell built-in functions to escape from or advance within a controlling while, for, foreach or until loop.
break [n]
continue [n]
| n | The number of the break. The default number is 1. |
break - within a script or while in any of the above processes would escape out of that process or script. Must actually be in a processes before being able to break from it.