This question already has an answer here:
Trying to find all files in current directory and sub directories that contains phrase
hello. According to my understanding this should work:
find -follow | cat | grep "hello"
Firs of all I'm trying to retrieve all files
find -follow | cat
find -follow will list all files and pass to
cat should show on the screen content of passed files.
What I got as result is list of files on the screen. Why not content of files?
Why my solution not work?