never_had_a_name never_had_a_name - 1 year ago 127
Linux Question

Colors with unix command "watch"?

Some commands that I use display colors, but when I use them with watch the colors disappears:

watch -n 1 node file.js

Is it possible to have the colors back on somehow?

Answer Source

Some newer versions of watch now support color.

For example watch --color ls -ahl --color.


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download