Updated: April 19, 2023 |
The Korn shell recognizes these reserved words and symbols:
case else function then ! do esac if time [[ done fi in until { elif for select while }
and uses them to build compound commands. For example, you can execute commands in a loop:
for i in *.c; do cp $i $i.bak; done