Grep: Difference between revisions
Jump to navigation
Jump to search
Anthoanthop (talk | contribs) (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...") |
Anthoanthop (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
=Match pattern A OR Pattern B | =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)\"'