Php – While and Do While Loops

This is post 16 of 19 in the series “Php Tutorial” In previous chapter we have looked for and foreach loops. In this chapter we will look...

Php – For and Foreach Loops

This is post 15 of 19 in the series “Php Tutorial” Loops are used to iterate over some block of code again and again in...

C For Loop and Iteration

This is post 9 of 15 in the series “C Tutorial” For loop is generaly used for specified arrays or similar aray like lists. For...

How To Get Python String Length?

We programmers generally use string data in our applications. While using the string data one of the most used operation is getting the size or...

Python While Loop Tutorial

Python provides different type of looping mechanism. while is the most popular one after for loops. while loops generally used to iterate and check given condition result as...

Python For Loop

Python programming language provides loops with for statement. It is similar to the most of the main stream programming languages like C, C++, Java or...

Bash For and While Loop Examples

Bash can provides different programming language structures like variable, array, loop, decision making etc. Loop is one of the most useful feature of bash scripting....

Bash Infinite Loop Shell Linux

How can write infinite shell that will run forever? May be I need a 5 second sleep between steps. Recently I have a issue with...