I am doing a find to get a list of files. How do I pipe it to another utility like cat so that cat displays the contents of all those files? Afterwards, I'd use grep on that to search some text in ...

Understanding the Context

1 cat with <<EOF>> will create or append the content to the existing file, won't overwrite. whereas cat with <<EOF> will create or overwrite the content. 0 Another way to write text to a file using cat without <<< syntax: cat <(echo "some text") > some_file This is especially useful for mixing file names and text in cat, e.g.: cat file1.txt <(echo "some text") > some_file This is called process substitution.