13

egrep getting numbers only

view full story
linux-howto

http://www.unix.com – Hello, I am kind of a noob with unix, so i'd like some help. I am trying to get some ip address with an nmap scan and then put from the result of the scan only the ip numbers this is an example Code: Starting Nmap 5.21 ( Nmap - Free Security Scanner For Network Exploration & Security Audits ) at 2012-05-25 12:29 CEST Nmap scan report for 114.86.196.165 Host is up (0.50s latency). PORT  STATE SERVICE 80/tcp open  http Nmap scan report for twdp-066-026-105-245.nc.res.rr.com (66.26.105.245) Host is up (0.17s latency). PORT  STATE SERVICE 80/tcp open  http Nmap (HowTos)