Bash For Loops

Syntax:

example:

we can check at the end that loop is not working by this

 

 

Another examples can be c like styles:

Bash IF Else with for loop break and continue  have to practice later time 🙂

 

Here is the video all for loop explained beautifully

References:

http://www.cyberciti.biz/faq/bash-for-loop/