how to write for loop in shell script in linux