Linux Lexicon: Use Watch Command To Run A Command Every X Seconds

Have you ever needed to run a command every couple minutes to check on something? Say you need to watch a RAID rebuild or watch a log in real time, but need to search or filter it first. That takes a lot of specialized tools, one for each task really. But using watch command this can be achieved easily.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis