Difference between revisions of "Main Page/IT/text processing/grep"
From Lewis Consultancy Wiki
< Main Page | IT | text processing
Jump to navigationJump to search (Created page with "=grep= Some useful things to know ==Finding IPs only== <pre>cat filewithips | grep -Eo '([0-9]{1,3}\.){3}[0-9]{1,3}' | sort | uniq</pre>") |
(No difference)
|
Latest revision as of 09:46, 3 July 2014
grep
Some useful things to know
Finding IPs only
cat filewithips | grep -Eo '([0-9]{1,3}\.){3}[0-9]{1,3}' | sort | uniq