Korn shell

Korn Shell
KSH is a Unix shell, it has scripting cabilities

Examples for loops in ksh
Simple for loop

for x in `ls .tar$` ; do   echo "gzip $x" done
 * 1) gzip $x

Simple while loop (infanitly repating) while : do tail log.file sleep 23 clear done