How To Repeat A Command Every X Seconds On Linux

Posted by logix on Dec 11, 2020 3:19 AM EDT
Linux Uprising
Mail this story
Print this story

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).

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.