Search the /etc directory for files of type 'f' (regular files) and execute the command 'grep -l' (list files containing matches) for the pattern '^#!' (lines beginning with '#!') on each of the files found, combining the results.
find /etc -type f -exec grep -l '^#!' {} +