The find command is used to execute commands on found files.
find / -name *.txt -user yolo -exec cat {} \; 2>/dev/null
Run the cat command on all .txt files belonging to yolo from the root.
Syntax of the command:
The {} is replaced by the name of the found files, and the \; is used as the end-of-command delimiter for the command to be executed.