26 Dec

If you want to repeat a command many times, for example you are monitoring something, then don’t forget about the watch command. It will print the results of the command to screen every 2 seconds (you can change the interval with -n).


watch --no-title "df -h"


Original Article

02 Sep

This command will let you watch a log file for changes as soon as they happen.


tail -f log/development.log