Open In App

watch command in Linux with Examples

watch command in Linux is used to execute a program periodically, showing output in fullscreen. This command will run the specified command in the argument repeatedly by showing its output and errors. By default, the specified command will run every 2 seconds and watch will run until interrupted.

Syntax:



watch [options] command

Options:

Article Tags :