Unix egrep getting lines containing this and that?
If I had a file called text.txt, how would I use egrep to find, for example, all the lines containing "apples" AND "oranges" and only the lines containing both strings? I'm using egrep from a unix command prompt.
No comments:
Post a Comment