Skip to main content

Execute a program periodically, showing output fullscreen.

# To repeatedly run a command and show the result:
watch command

# To re-run a command every 60 seconds:
watch -n 60 command

# To monitor the contents of a directory, highlighting differences as they appear:
watch -d ls -l