Bash For Loop Examples


#1

Originally published at: https://www.cyberciti.biz/faq/bash-for-loop/

How do I use bash for loop to repeat certain task under Linux / UNIX operating system? How do I set infinite loops using for statement? How do I use three-parameter for loop control expression?