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

1

1 Answer 1

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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.