I have a server executable
. I have to start 5 instances of it with different IP addresses (provided through commandline). This is what I have tried:
for i in `seq 1 5`
The problem is that after starting first myserver, the control does not come to the terminal. How can I start the processes in background?
myserver $ip &
did not help. Most likely, I am doing something wrong with the last
that is used to run processes in background.
has to continuously listen to a socket bound to its IP and a default port. Therefore, it has an infinite loop inside it.