How To Repeat A Command Every X Seconds On Linux

This article explains how to repeat a command every X seconds, in 2 ways: using watch, and using sleep in a while loop (avoiding time drifting).

Source: How To Repeat A Command Every X Seconds On Linux – Linux Uprising Blog