#!/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/000009.png $s $f >> time.txt done done