Find all files in the current directory and its subdirectories, display the first line of each file, and search for a string of five alphanumeric characters.
find ~ -type f | xargs head -n1 | grep -E $'[0-9A-Za-z]{5}'