#!/usr/local/bin/perl5 -w #shell script copies one file multiple times, adding a number to the front for($n=2; $n <= 8; $n++) { $name = "natotemplate.htm"; $newname = "natotemplate"."$n".".htm"; #system calls for copying and moving files system("cp $name $newname"); }