I can do the following to see if some word is available in the output of "cat":
cat filename | grep word
This filters the output and shows only those lines which contain "word". Now, is it possible to only highlight the "word" in the output, without dropping other lines?
grep word filenameis clearer and faster. ;) Also,lesscan do this while also providing paging. Just search forwordby typing/word(the term is actually a regular expression, just likegrep) – Alexios Dec 25 '13 at 15:50