I am looking for very simple bash script that would allow me to launch a process a few times. What's essential to me is that after the processes terminate, everything will clean up automatically.
bash multiplerun.sh 5 executable.sh parameters_to_executable
I could probably write it myself, but it would take me so long that I've decided to ask experts; I'm very little skilled at using *ix systems.
EDIT: Oh, and I forgot to add that I want to run them in parallel - running them one after another is pretty straightforward.