I want to start multiple replicas of same program where each copy of program has different inputs that are stored in separate directories. I tried to write following shell script to start 5 replicas of my program, but it starts only one program. I guess that script does not takes it to move to next directory after it starts program at the first directory. My script is below-I want to start multiple replicas of same progr