Search the /etc directory for files with the extensions .conf or .sh, and find any files that contain the string "127.0.0.1" (case insensitive).
find /etc -type f \( -name '*.conf' -o -name '*.sh' \) -exec grep -il "127.0.0.1" {} \;