I have a bunch of files organized into directories..All these are text files (c/c++). I am trying to understand this code and i need to look at the declarations of many vari
You can do this with grep. grep -n 'search-term' *.c will give you the filename and line number where the term appears.
grep -n 'search-term' *.c