at the minute i have it like this; echo "this is a shell script" perl ./program1 prog1.input prog1.output perl ./program2 prog2.input prog2.output etc