← Back to tools

watch

Periodically run a command and display its output, highlighting changes

Productivity linuxmacos C GPL-2.0

Description

watch periodically runs a command in the console while temporarily clearing the screen content. It makes it easy to check differences between the output of two subsequent commands, and provides diff functionality to highlight the changing characters between outputs.

AI Summary

Repeatedly execute a command and display output, highlighting changes between runs

Capabilities

  • + Periodically execute any command and show output
  • + Highlight differences between consecutive outputs
  • + Customize refresh interval
  • + Exit on command error or output change

Use When

  • You want to monitor command output over time
  • You need to watch for changes in command output
View AGENTS.md for watch