grep command - 3 different expresions
Hi
I have a problem:
I am trying to create a single grep command that checks if 3 different expirations are in a specific file.
right now what I am using is 3 different commands as follows:
grep -r -l "Error can't open" x/*.txt
grep -r -l "rsync error" x/*.txt
grep -r -l "can't aquire" x/*.txt
But as I said I want them all in one command to make it easier for me.
please advise
|