1. You coule also use tail -F file...
    Auto refresh and display even when the file change.


    • You are exactly correct. I was struggling to come up with a good example when I wrote this, so I used the tail example. tail -F is certainly more appropriate for that particular task.

      Thanks for your comment.


  2. Completely agree. `watch` proved to be one great tool that I personally find it extremely helpful. It is also cool when you add the '-d' argument, it highlight the differences between successive updates so you can actually easily notice when something has changed.

    for example:

    ## watch -d -n1 "sensors | grep temp | awk '{ print $2 }'"



Leave a Reply

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