1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-22 03:24:14 +02:00
tldr/pages/common/continue.md
Managor bf47c685ac
$, case, continue, coproc, getopts, select, suspend, ulimit, while: refresh page (#17687)
Refreshed $, case, continue, coproc, getopts, select, suspend, ulimit, while .md pages
2025-08-16 11:28:41 -07:00

12 lines
409 B
Markdown

# continue
> 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>.
- Skip to the next iteration:
`while :; do continue; {{echo "This will never be reached"}}; done`
- Skip to the next iteration from within a nested loop:
`for i in {{{1..3}}}; do {{echo $i}}; while :; do continue 2; done; done`