I\'d like to know if I can colour highlight the output of a shell command that matches certain strings.
For example, if I run myCommand, with the output below:
Try
tail -f yourfile.log | egrep --color 'DEBUG|'
where DEBUG is the text you want to highlight.