Find the first file in the current directory (and its subdirectories) that has a filename ending in either .sh or .bash, and does not contain the string "echo".
find ~ -iregex '.*\(.sh\|.bash\)$' | xargs grep -L "echo" | head -n1