Find a file in the current directory with a ".sh" extension, print its name, sort the results randomly, and print the first one.
find . -maxdepth 1 -name "*.sh" -exec printf '%s\n' {} \; | sort -R | head -1