≡ Menu

for loop

Bash C Style For Loop Example and Syntax

How do I use the bash C style for loop under UNIX or Linux operating systems?
[click to continue…]

Sysadmin because even developers need heroes!!!

Bash Infinite Loop Examples

How do I write an infinite loop in Bash script under Linux or UNIX like operating systems?
[click to continue…]

UNIX: Loop Through Files In A Directory

How do I loop through files in a directory under UNIX like operating systems?
[click to continue…]

Bash: Continue In a For / While Loop

How do I continue in a for or while loop in Bash under UNIX or Linux operating systems?
[click to continue…]

Linux / UNIX: For Loop To Remove Files

How do I use a for loop in Unix to remove files?
[click to continue…]

HowTo: Use bash For Loop In One Line

How do I use bash for loop in one line under UNIX or Linux operating systems?
[click to continue…]

KSH For Loop Array: Iterate Through Array Values

How do I use ksh for loop to iterate thought array values under a UNIX / Linux / BSD operating systems?
[click to continue…]

HowTo: Skip Bash For Loop

How do I skip bash for loop if certain condition is satisfied under UNIX / Linux / BSD / OS X?
[click to continue…]

Bash Iterate Array Examples

How do I iterate through an array under Bash scripting?
[click to continue…]

Bash Shell Loop Over Set of Files

How do I run shell loop over set of files stored in a current directory or specified directory?
[click to continue…]