How do I use xargs and grep?

How do I use xargs and grep?
Answer
Combine xargs with grep
Use xargs with
the grep command to search for a string in the list of files
provided by the find command. The example above searched for all the files with the . txt extension and piped them to xargs , which then executed the grep command on them.
 

Tìm kiếm

Back
Top