Continue
Appearance
General
- makes the enclosing loop continue at the next iteration, with the loop variable taking the next value in the list
- continue can take the enclosing loop number at which to resume
- continue 1
Examples
- often used in an if statement inside of a loop
if [ -d "$file" ]; then
echo "skipping directory $file"
continue
fi