Question : bash while if continue
Answered by : faithful-frog-neecbx4689hw
i=0
while [[ $i -lt 5 ]]; do ((i++)) if [[ "$i" == '2' ]]; then continue fi echo "Number: $i"
done
echo 'All Done!'
Source : https://linuxize.com/post/bash-break-continue/ | Last Update : Wed, 30 Nov 22