I want to search multiple patterns
in a directory
containing recursive directories
and files
.
I know command for grep
which is as follows
grep -e '(pattern1)|(pattern2)'
or
grep -r -E 'string1|string2|string3' /var/www/http
What is the command for that using ack
or ag
?
grep
to know exactly to what functionality you are referring to. – Wahoo