Find all files in the root directory and its subdirectories, print out the contents of each file, use awk to generate a random number based on the number of lines in the output, and then use head to print out the first line of the output.
find / -name "*.*" -exec cat {} \; | awk 'BEGIN{srand(); print int(rand()*NR)}' | xargs head -n 1