Search the current directory and its subdirectories for any files with any extension and search for the string '#!' in them, ignoring any matches in /dev/null.
find . -name "*.*" | xargs grep -i '^#!' /dev/null