Skip to content

Glossary: Command Line for IT: Bash and PowerShell

for

Also written: for loop, do, done

A bash loop, written for NAME in LIST; do …; done, that runs once per item. check-disk.sh uses it to check each folder in "$@".

Where the book teaches it

Related terms

while readforeach