Resume the next iteration of an enclosing for, while, until, or select loop.
continue [n]If n is supplied, the execution of the nth enclosing loop is resumed. n must be greater than or equal to 1. The return status is zero unless n is not greater than or equal to 1.
for myloop in 1 2 3 4 5
if [ "$myloop" -eq 3 ]
continue # Skip rest of this particular loop iteration.
echo -n "$myloop"
donecontinue is a POSIX &qt;special&qt;&qt; builtin