Link: Repeat a Command Every Few Seconds with watch

Running watch < command > will by default keep repeating that command every two seconds. This is good for seeing the progress of a running process, viewing memory or disk usage, or checking various things from /proc. Here are some quick examples:

Full article here:
Repeat a Command Every Few Seconds with watch (scottlinux.com)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.