for command

Bash For Loop Examples

by Vivek Gite on October 31, 2008 · 202 comments

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?

{ 202 comments }

Bash Shell Loop Over Set of Files

by Vivek Gite on May 11, 2008 · 30 comments

How do I run shell loop over set of files stored in a current directory or specified directory?

{ 30 comments }