Jeffrey Winn's Blog

Assorted thoughts and information of nominal value

View on GitHub

An Alternative To Watch

I like me some watch, but there is no way I’m aware of to turn off the clearing of the screen before your command does its thing again. That is annoying when, in my example of a temperature change, you wish to see things as they progress.

So, instead of using watch, use your shell, something I saw first here.

For my example, I used:

while sleep 5; do
    ./cputemp.py
done

…Get back