Find all files with the extension ".sh" in the current directory and its subdirectories, and execute the command "sed -n '10p' {} +" on each of them.
find . -name "*.sh" -type f -exec sed -n '10p' {} +