Find a file in the current directory (./) whose name contains any characters followed by a period (.*) and sort the results randomly (-R) then display the first one (-n1).
find ./ -name '*.*' | sort -R | head -n1