I'd like to execute this command:
find /apps/ -type f -print0 | grep -z log$ | xargs -0 grep 'this->aForm'
And in parallel, I'd like to see which files are being processed.
How to to this?
There is a similar question en Stack Overflow:
The idea is to use named pipes, in bash you can simply do:
But in the general case, use
(both examples are from the Stack Overflow answer)