How To Write Infinite Loop in Bash

How To Write Infinite Loop in Bash

Note: This article will be emailed to your friend.

This is how you create an infinite loop in bash to run a piece of code perpetually at pre-defined intervals.

#!/bin/bash
while [ 1 ]
do
# Your code goes here

# Modify sleep time (in seconds) as needed below
[...]

Read the rest of this article (55 words)

Please fill in the following fields

* - Required

Your Name: *

Your E-Mail: *

Your Remarks:

Friend's Name: *

Friend's E-Mail: *

Protected by Comment Guard Pro