Grep

From DevOps Notebook
Revision as of 10:50, 14 December 2020 by MilosZ (talk | contribs) (Created page with "=== Search for multiple IP addresses with one grep line === <pre> # grep -iP '2\.2.\2\.2|1\.1\.1\.1' * </pre>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Search for multiple IP addresses with one grep line

# grep -iP '2\.2.\2\.2|1\.1\.1\.1'  *