Randomly sort the files with names that contain any characters and have any file type in the current directory, then display the first 5 results.
sort --random-sort <(find . -name '*.*' -type f) | head -n 5;