How do you break a loop in Unix?

Giao Linh

New member
How do you break a loop in Unix?
Answer
The break statement is used to terminate the execution of the entire loop, after completing the execution of all of the lines of code up to the break statement. It then steps down to the code following the end of the loop.
 

Tìm kiếm

Back
Top