Is there a command where I can search my current directory and return all files with the string 'tcAccount' in them? I can't remember all of the modules that I used it in and I need to change it, I thought maybe there was an easier way than entering each file one by one and searching. Any help is greatly appreciated, thanks!
grep -l 'tcAccount' *
are there any options you can add to the grep to also make it search the subdirectories?
grep -r -l string *
find . -type f | xargs grep -l tcAccount
find . -type f -exec grep -l tcAccount {} /dev/null \;