Content added Content deleted
imported>DrOwl m (KSH moved to Korn shell) |
imported>mutante mNo edit summary |
||
Line 3: | Line 3: | ||
==Korn Shell== |
==Korn Shell== |
||
KSH is a |
KSH is a [[Unix]] shell, it has scripting cabilities |
||
Revision as of 23:03, 15 February 2007
Template loop detected: Template:Stub
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" # gzip $x done
Simple while loop (infanitly repating)
while : do tail log.file sleep 23 clear done