Find a file in the current directory and its subdirectories, print its name, shuffle the list of files, and display the first one.
find . -mindepth 1 -maxdepth 2 -type f -printf "%f\n" | shuf | head -1