User guide
break
break — break from a program loop
Breaks from a for, while, or until loop. Exits the current shell with a status or
returns the status of the last command.
Syntax
break [
break_level
]
Arguments
break_level
Specifies the status code to be returned by the shell.
Example
>>> foriin12345;do echo $i ; break ; done
1
>>>
13–14 Console Commands