wasn't sure what forum to put this in, but I'm sure someone here can help me.
I have a program that I want to run N times. I'd like to make a bash script that, when run like this:
./script.sh 5
will run my program 5 times, where my program can be run like this:
./myprogram
Basically I just need a loop that will execute my program, then iterate when the execution exits.
Any tips?
I have a program that I want to run N times. I'd like to make a bash script that, when run like this:
./script.sh 5
will run my program 5 times, where my program can be run like this:
./myprogram
Basically I just need a loop that will execute my program, then iterate when the execution exits.
Any tips?
Comment