miércoles, octubre 30, 2013

search ip using grep

a way to search for ip address in files using grep

go to the directory you want to search

grep -r -n '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' *