I am relatively new to bash scripting. I have a linux executable that takes one user input from the command line. That is, I can run the executable like this: ./executable [input]. I want to run the executable multiple times with different inputs, that is, something like this:
$ ./executable 16
$ ./executable 32
....
I want to use a bash script for my purpose. This is my attempt (which is simply incorrect):
for i in 1 2 3 ... 10
do
temp = 16 * $i
./executable temp
done
How would I get this done?