Content added Content deleted
imported>DrOwl (New page: ==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 Sim...) |
imported>DrOwl mNo edit summary |
||
Line 1: | Line 1: | ||
{{stub}} |
|||
==Korn Shell== |
==Korn Shell== |
||
Line 22: | Line 23: | ||
clear |
clear |
||
done |
done |
||
[[Category:Programming]] |
|||
[[Category:Linux]] |
|||
[[Category:Hacking]] |
|||
[[Category:Computer]] |
|||
[[Category:Unix]] |
Revision as of 11:16, 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