The power of UNIX You can combine loops and text input files to do parametric testing for i in 1 2 3 4 5; do for j in 1 2 3 4 5; do sed 's/I/$i/,s/J/$j/' < template > infile program < infile > outfile.$i.$j done done Or control the boot process of a linux system: sysvinit