Search Results

Search: Posts Made By: sjolicoeur
14,643
Posted By sjolicoeur
It's working! :)
:b: Thanks anchal_khare :)

:D I won't be fired.
14,643
Posted By sjolicoeur
This is not the issue.
This command is working.

$ find /var/www/mysite/uploads/files/*.doc -exec egrep -l --ignore-case "Master en Achats|complet" {} \;

I'm able to grep the ms word documents having mutiple patterns...
14,643
Posted By sjolicoeur
It's Not Working
Hello, I've just tried the above command:

$ find /var/www/hrmtest/cache/upload/*.doc -exec egrep -l --ignore-case "Master en Achats" {} | egrep -l --ignore-case "complet"

It's not working, it's...
14,643
Posted By sjolicoeur
Thanks for your reply but I don't know how to write the syntax.
Hi thanks for your reply, I'm new to linux and I don't exactly know how to write the syntax.

I've tried:
$ find /var/www/hrmtest/cache/upload/*.doc -exec egrep -l --ignore-case "Master en...
14,643
Posted By sjolicoeur
Grep mutiple patterns with 'AND' operator
Hello, I'm trying for days to do a grep without any success. :wall:

I have two patterns being:
1 - Master en Achats
2 - complet


$ find /var/www/mysite/uploads/files/*.doc -exec egrep -l...
Showing results 1 to 5 of 5

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