Randomly select one line from the output of the command: "grep -rl '.' $(find /dev -type f)" and execute it, then kill the process named "process-name" after 10 minutes.
shuf -n 1 <(echo "set -e; grep -rl '.' $(find /dev -type f); killall -o 10min <process-name>")