Mailing the story:
Bash For Loop
Loops are one of the fundamental concepts of programming languages. Loops are handy, if you want to run series of commands over and over again, until a condition situation is reached. In scripting languages such as Bash, loops are useful for automating repetitive tasks.