watch
Links
Usage
watch
runs command repeatedly, displaying the first screenfull of output.
By default, the program is run every 2 seconds; use -n
or --interval
to specify a different interval.
The -d
or --differences
flag will highlight the differences between
successive updates.
To watch the contents of a directory change:
watch -d ls -l