Saturday, August 1, 2020

Color within grep output

Below is an example of how to include color within the grep command output.

grep --color=always -E 'text|$' filename


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.