Grep

Highlight all non-comments (for logs):

grep --color=always '^[^#]*' filename

grep --color=always '^[^#]*' filename|less -r

If you like the colorful grep, you can simply export GREP_OPTIONS='--color=auto' in your shell startup script.

Change color of grep:

export GREP_COLOR='1;32'