I know a command that I use pretty often when working on someone else's code base, here is an example
find ./ -name "*.php" | xargs grep "my_awesome_function("
I have already read through the docs on each of the commands here as
Yet I still don't entirely understand how this command searches for every php file from current directory down and then looks for which of them contain a string "my_awesome_function(". I understand how pre pipe part works, but after the pipe my understanding vanishes. I get that each file is sent like an argument to the grep command, can someone explain what is happening here?