Development Shack Technology Understood

Watch a log file from the command line  

watch is a cool tool if you want to watch outputs like from sensors -f or vmstat maybe.

But combining watch with tail you can watch the tail end of a log file with ease.

The following command will watch the last 20 lines of the syslog log file:

watch tail -n 20 /var/log/syslog