grep usage help?

Use and complete the template provided. If you don't, your post may be deleted!

  1. The problem statement, all variables and given/known data:

I have to find all the files where the function sequentialInsert is called and the directory is ~cs252/Assignments/commandsAsst/project

  1. Relevant commands, code, scripts, algorithms:

grep

  1. The attempts at a solution (include all code and scripts):

    grep 'sequentialInsert' ~cs252/Assignments/commandsAsst/project/* finds all places of sequentialInsert, I just dont know how to manipulate that to just list the files

  2. School (University) and Course Number: ODU cs252

I just dont know how to manipulate that to just list the files

-l is the options you are looking for.

grep -l 'PATTERN' FILES

Not acceptable.

Must provide full university name, city, state, country, professor and course number.

No exceptions.