continue Command Examples

Skip to the next iteration of a for, while, until or select loop. More information: https://www.gnu.org/software/bash/manual/bash.html#index-continue.

while :; do continue; echo "This will never be reached"; done

for i in {1..3}; do while :; do continue 2; done; done