≡ Menu

loop syntax

Linux / UNIX: Run Command a Number of Times In a Row

How do I run “foo” command 10 times (or n times) under Linux or UNIX like 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…]

Ksh Read a File Line By Line ( UNIX Scripting )

How do I read a file line by line using KSH shell scripting under UNIX like operating systems?
[click to continue…]

Bash Iterate Array Examples

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

Bash For Loop Array: Iterate Through Array Values

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

KSH For Loop Examples

Q. How do I use for loop in Korn Shell under UNIX / Linux / BSD / OS X operating systems?
[click to continue…]

Bash While Loop Example

How do I use bash while loop to repeat certain task under Linux / UNIX operating system? How do I set infinite loops using while statement?
[click to continue…]

Linux bash for loop

Q. How do I use bash for loop under Linux operating systems?
[click to continue…]

KSH for Syntax

Can you explains UNIX ksh for loop syntax which can repeatedly execute a block of statements with a simple ksh script example?
[click to continue…]