Grep ‘Test lead’ filename.txt

  • This command searches for all the occurrence of the text string “Test lead” in file “filename.txt”
  • We can also use wildcard character to search in multiple files.