Search Results

Search: Posts Made By: merchant
66,746
Posted By merchant
To search several string patterns in a set of...
To search several string patterns in a set of files, just combine the grep and xargs comands. This way, you can simulate an AND operator for the grep command:

grep -rl PATTER1 * | xargs grep...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 11:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy