Bash Tutorial

Bash Loops

Source: Bro Code

Loops

Loops let you repeat blocks of code efficiently.

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