Home News How To Repeat A Command Every X Seconds On Linux By Anonymous December 10, 2020 This article explains how to repeat a command every X seconds on Linux, in 2 ways: using watch, and using sleep in a while loop (with a way to avoid time drifting when using long-running commands). Complete Story Facebook Twitter Linkedin Email Print Previous articleRed Hat Builds Native Edge Computing Features into RHEL and OpenShift Next articleUsing ThinkPad T410 as a server Get the Free Newsletter! Subscribe to Developer Insider for top news, trends, & analysis Email Address By subscribing, you agree to our Terms of Use and Privacy Policy. Subscribe Must Read Developer How to Install Docker on Ubuntu 24.04 Developer How to Install Freenginx on Ubuntu (Ultimate Guide) Developer How to Install KDE Plasma in Ubuntu, Debian and Mint Developer How to Install LAMP on Ubuntu 24.04 Developer Bat is a Modern Drop-in Replacement for Cat Command on Linux