0

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

Wissam Roujoulah
  • 3,204
  • 1
  • 12
  • 21
John
  • 1
  • 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,893
  • 7
  • 41
  • 70
smith
  • 1