Link to home
Start Free TrialLog in
Avatar of bje
bjeFlag for United States of America

asked on

using two values to find files

Hello,
I am not sure the best way to do this.  Have a need to search files , using two values.  If the files contain these two values then write the file name to a file called filenames.txt

I tried grep,   grep -e value1 -e value2 filename  

Is there another way to do this



thanks in advance for the help
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bje

ASKER

Thank you