Looking for alternative for watch command from Linux.
Code:
watch - execute a program periodically, showing output fullscreen
watch runs command repeatedly, displaying its output and errors (the first screenfull). This allows you to watch the program output change over time. By
default, the program is run every 2 seconds; use -n or --interval to specify a different interval. Normally, this interval is interpreted as the amout of time
between the completion of one run of command and the beginning of the next run. However, with the -p or --precise option, you can make watch attempt to run
command every interval seconds. Try it with ntptime and notice how the fractional seconds stays (nearly) the same, as opposed to normal mode where they con���
tinuously increase.