how to use for loop in shell script with example