Find all files with the extension ".sh" in the current directory, shuffle them randomly, take the last one, and echo the command "bash" followed by the name of the file.
find ./ -name "*.sh" -print0 | xargs -0 -n1 shuf -e -z | tail -n 1 | xargs -I {} echo "bash {}"