-1

This question already has an answer here:

how do I highlight every occurrence of a word, Linux? I have tried to show the contents of my file but I don't know how to highlight specific words! please help!!

marked as duplicate by don_crissti, dr01, Anthon, Jeff Schaller, roaima Mar 17 '16 at 15:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

You might use the search feature of 'more': $ more filename.txt Then type /word and press Return. Navigate the file with arrow keys, move to the next occurrence with n.

Not the answer you're looking for? Browse other questions tagged or ask your own question.