You can use -exec to run a command on the output of a command. So it will be a reuse of the output as an example given with a find
command below:
find . -name anything.out -exec rm {} \;
you are saying here -> find a file called anything.out in the current folder, if found, remove it. If it is not found, the remaining after -exec will be skipped.