watch
in linux is used to run a reocurring command and display the output.
I find it super useful when you need to follow a truncating log file.
Example: To follow a log file, you can run the following command:
watch "tail -n 50 output.log"
Your immediate thought might be to just run tail -f output.log
, but tail doesnt clear your screen when the log file is reset.