Searching a specific directory for files containing a text string
This is for a homework assignment.
The problem is, I am a member of a group which has written a program whose source code is being held in a specific directory (~cs252/Assignments/basicAsst/project) and we want to go through and change the parameters for the function "sequentialInsert." My job is to find all occurances of the function call to "sequentialInsert" and to also list the files from where the code came from. Also, I have to be in the commandsAsst directory when I do this.
I have tried grep and find combined together, and I am at a lost. Please please help
|