Find all files in the current directory and its subdirectories and search for the string "random" in each file, displaying the line number of each occurrence.
find ~ -type f -exec grep -n "random" {} \;