Find all files in the current directory (and its subdirectories) whose name contains any characters, and execute the awk command on each of them, which prints the file name and a random number. Then sort the output based on the random number and print the first 10 lines.
find . -iname '*.*' -exec awk '{print $0,rand()}' \; | sort -k2,2 | head -n10