Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

as the title says, I want to see colors in my watch command.


# enable colors when running javascript unittests with watch
watch mocha 

# enable colors when doing `ls`
watch ls -aG
share|improve this question

Some programs, such as ls try to be "smart" and only use color when connected to a terminal. Hopefully they have a way to force color. ls does.

watch --color ls -aG --color

Edit: Only tested with Ubuntu Raring.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.