An `egrep` example with multiple regular expressions
Summary: How to use the Linux egrep command with multiple regular expressions (regex patterns).
As a quick note here today, I just used the Linux egrep
command to perform a case-insensitive search on multiple regular expressions (regex patterns). Really, what I did was a little more complicated:
locate -i calendar | grep Users | egrep -vi 'twiki|gif|shtml|drupal-7|java|PNG'
As you can see from that command, I did this: