Find all files in the current directory, execute the printf command on each file to print the filename, sort the filenames randomly, and print the last one.
find ./ -type f -exec printf '%f\\n' {} \; | sort -R | tail -1