Which command will search recursively in directories to list the file having a string “file” inside it's content.

  1. grep -l file find . -type f

  2. Find . -type f | grep file

  3. ls -1 | grep file

  4. grep file ls -1


Correct Option: A

Find more quizzes: