for Loops in Shell Script

shell programming

for Loops in Shell Script for loops allow the repetition of a command for a specific set of values Syntax: for var in value1 value2 … do command_set done – command_set is executed with each value of var (value1, value2, …) in sequence for loop example in shell script #!/bin/sh # timestable – print out … Read more