-2

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!!

jim
  • 1

1 Answers1

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.