#!/bin/bash for s in 1 2 5 10 15 20 do for f in 5 10 50 100 500 1000 do ./ShiTomasi ./input_images/img_4.jpg $s $f >> time_opti_img4.txt done done