infinite loop – POFTUT

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 boolean. If the condition is True the loop will resume but if the condition is False the while loop will be ended. Syntax Here is the syntax of while loop in Python. while … Read more

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 my routing table and I need to remove some route automatically every 5 minutes. I came up with a solution that runs every 4 minutes and clears unwanted routes. While … Read more