Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • grep has a --color option you could work with. echo can also output colored text with -e option, see misc.flogisoft.com/bash/tip_colors_and_formatting . Commented Oct 25, 2016 at 10:53
  • Also might I suggest that you edit your question and add a sample of said log file, seeing the formatting will help design an accurate solution. Commented Oct 25, 2016 at 11:10
  • Thanks. How can I read the output using less, vim or another editor?? Commented Oct 25, 2016 at 11:40
  • See also: stackoverflow.com/questions/981601/… Commented Mar 20, 2019 at 16:56