

Highlights the differences between output updates.Įxits the watch command when the output of the user-defined command changes. The watch command options include: -n, -intervalĪllows you to specify the interval between output updates.

Press Ctrl+C to exit out of the command output.

It temporarily clears all the terminal content and displays the output of the attached command, along with the current system date and time.īy default, the watch command updates the output every two seconds. The watch command is a built-in Linux utility used for running user-defined commands at regular intervals. Access to the terminal window/command line.A system running a Linux distribution (learn how to install Ubuntu 20.04, how to install CentOS 7, or how to install Arch Linux).
