Introduction
A C-style for loop helps you repeat a set of commands a specific number of times, just like counting steps in a recipe.
When you want to run a command exactly 5 times.
When you need to process files numbered from 1 to 10.
When you want to count down from 10 to 1.
When you want to repeat a task with a specific start, end, and step.
When you want to automate repetitive tasks in a script.