Grep: Difference between revisions

From Anthony Pastor Wiki Notes - Verba volant, scripta manent
Jump to navigation Jump to search
(Created page with "=Match pattern A OR Pattern B or Pattern C ...= <syntaxhighlight lang="bash"> tcpdump -A host bob.net | egrep '\"site\":{\"id\":\"(386105|87347|166881|381105|316817)\"' </syn...")
 
No edit summary
 
Line 1: Line 1:
=Match pattern A OR Pattern B or Pattern C ...=
=Match pattern A OR Pattern B OR Pattern C ...=


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
tcpdump -A host bob.net | egrep '\"site\":{\"id\":\"(386105|87347|166881|381105|316817)\"'
tcpdump -A host bob.net | egrep '\"site\":{\"id\":\"(386105|87347|166881|381105|316817)\"'
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 16:30, 25 February 2016

Match pattern A OR Pattern B OR Pattern C ...

tcpdump -A host bob.net | egrep '\"site\":{\"id\":\"(386105|87347|166881|381105|316817)\"'