dcsimg
Linux Today: Linux News On Internet Time.





More on LinuxToday


Linux Bash For Loop Examples

Dec 06, 2015, 10:00 (0 Talkback[s])
(Other stories by Anonymous)

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


A 'for loop' is a bash programming language statement which allows code to be repeatedly executed.

A for loop is classified as an iteration statement i.e. it is the repetition of a process within a bash script. How do I use bash for loop to repeat certain task under a Linux / UNIX operating system? How do I set infinite loops using for statement? How do I use three-parameter for loop control expression?

Complete Story