Looping and Skipping

for loops in Bash can be used in several ways:
- iterating between two integers, and
- iterating between two integers, and , and incrementing by each time
- iterating through the elements of an array, etc.

Recommended Resources

A quick but useful tutorial for bash newcomers is here.
Handling input is documented and explained quite well on this page.
Different ways in which for loops may be used are explained with examples here.

Solve Problem