I have a program which accepts inputs through the command line. I want to run the program many times, each time changing the input and I don't want to do it manually. Is there a way to automate that task (maybe through a bash script)?
To make things more tangible:
Suppose the name of the program is "dprog" Is there a way to try different combinations on some of the values below without having to do it by hand each time at the command line?
./dprog 65 100 5120 10 file1.txt file2.txt 10 20 10000