How do I loop through files in a directory under UNIX like operating systems?


I want to run a Unix command 100 times using a for loop from 1 to 100. Can you tell me how to take a block of numbers in a loop under KSH or BASH shell?

{ 1 comment }