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:
- help for : It displays help information.

Recommended Posts:
- arp command in Linux with examples
- which command in Linux with examples
- cd command in Linux with Examples
- id command in Linux with examples
- cc command in Linux with Examples
- w command in Linux with Examples
- ed command in Linux with examples
- gcc command in Linux with examples
- gs command in Linux with Examples
- yes command in Linux with Examples
- man command in Linux with Examples
- top command in Linux with Examples
- rm command in Linux with examples
- fg command in Linux with examples
- bg command in Linux with Examples
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



