Bash Tutorial

Bash Loops

Loops

Loops let you repeat blocks of code efficiently.

for i in 1 2 3; do echo $i; done
Try it Yourself
Run this BASH example in your local environment or course sandbox.