Open In App

for command in Linux with Examples

for command in Linux is used to repeatedly execute a set of command for every element present in the list.

Syntax:



for NAME [in WORDS ... ] ; do COMMANDS; done

Example:



Options:

Article Tags :