1 #!/bin/bash
2
3 for i in {1..1000};
4 do
5 ./client &
6 if [ $? == 0 ]; then
7 printf "Starting process\n";
8 fi
9 done;
10