0

How do I highlight certain word using the cat command on the terminal?

John
  • 1

1 Answers1

-1

Type cat (the name of your textfile) | grep (The word you want to highlight), e.g cat textfile | grep in.

phk
  • 5,953
  • 7
  • 42
  • 71
smith
  • 1