Skip to content

watch

Execute a program periodically, showing output in fullscreen.

Usage

watch du -sh file

Custom interval in seconds (defaults to every 2 seconds):
watch -n 1 du -sh file