LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: How to write a loop in Bash (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-how-to-write-a-loop-in-bash-4175655611/)

LXer 06-12-2019 10:33 PM

LXer: How to write a loop in Bash
 
Published at LXer:

A common reason people want to learn the Unix shell is to unlock the power of batch processing. If you want to perform some set of actions on many files, one of the ways to do that is by constructing a command that iterates over those files. In programming terminology, this is called execution control, and one of the most common examples of it is the for loop. A for loop is a recipe detailing what actions you want your computer to take for each data object (such as a file) you specify.

Read More...


All times are GMT -5. The time now is 12:29 PM.