Watching Command

If you need to keep an eye on a command whose output is changing, use the watch command. For example, to keep an eye on your load average

watch 'cat /proc/loadavg'

To highlight the difference between screen updates

watch -d 'ls -l'

  1. No trackbacks yet.