Norberto,<br><br>'#!/bin/ksh' means that the script will be run by the Korn shell rather than your default shell (in case the script uses some features that aren't available in the current shell). It has to be on the first line of a script. <br><br>Sometimes you'll also see '#!/bin/sh' (Bourne shell), '#!/bin/csh' (C Shell) or '#!/bin/awk -f' (the awk utility) for example.<br><br>My example above assumes that your current directory is the directory containing the source files. If you need it to be run from elsewhere change the 'for file in file*' line to read 'for file in /whatever/directory/file*'. You could then place the script in a directory that is in the path, for example '/usr/local/bin'.<br><br>Regards,<br><br>Annihilannic.