- or download this
ec0: flags=410c43<UP,BROADCAST,RUNNING,FILTMULTI,MULTICAST,LINK0,IPALI
+AS>
inet 172.22.43.157 netmask 0xfffffc00 broadcast 172.22.43.255
- or download this
/^(.*\n.*inet\w)(\d{1,3}\.\d{1,3}\.\d{1,3})/
- or download this
my ($ip_address) = ( /inet\s+(\d{1,3}\.\d{1,3}\.d{1,3})/ );