The continue command

Resume for, while, or until loops. 2 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.

Examples

continue

Skip to next iteration

[ -f "$f" ] || continue

Skip what isn't a file (folders)

Lessons that use continue