Команда break

Shell built-in functions to escape from or advance within a controlling while, for, foreach or until loop.

Синтаксис

break [n]

continue [n]

nThe 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.

Обратно к списку команд