Ben Chuanlong Du's Blog

It is never too late to learn.

Use the Watch Command to Monitor Running Applications

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Report the number of PNG images in the directory 000 every 2 seconds.

watch "ls 000/*.png | wc -l"

Comments