continue

Resume the next iteration of the enclosing for, while, until, or select loop.

Syntax
      continue [n]

Key
    -n   Resume at the nth enclosing loop

n must be >= 1.
If n is greater than the number of enclosing loops, the last enclosing loop (the ``top-level'' loop) is resumed.

The return value is 0 unless the shell is not executing a loop when continue is executed.

continue is a bash builtin command

“Success is not final, failure is not fatal: it is the courage to continue that counts” - Winston Churchill

Related:

for - Expand words, and execute commands
while - Loop to execute commands
until - Loop to execute commands


© Copyright SS64.com 1999-2014
Some rights reserved