Sleep infinitely in bash
I am sure that you would have got a lot of instances where you have wanted to sleep for infinity and ended up doing this
|
|
or some other such similar loop to sleep for some time and wrap it in infinite loop.
I learned something new recently and found it very useful. You can do the above with
|
|
and you can use that even for a while loop
|
|
Enjoy 👍