#!/bin/bash for ((i=0; i < 20; i++)) do if (( i > 5 && i < 10 )); then continue; fi if (( i == 15 )); then break; fi echo "$i"; done