Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix break and continue

Quick links

About break and continue
Syntax
Examples
Related commands
Unix main page

About break and continue

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

Syntax

break [n]

continue [n]

n The number of the break. The default number is 1.

Examples

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.

Related commands

csh
exit
for
foreach
ksh
sh
until
while

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope