I am trying to retrieve the ipaddress of the unix system.. ip addr show..
我认为这是产出。
2: eth0: mtu 1500 qdisc mq state UP qlen 1000
link/ether b8:ac:6f:65:31:e5 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.100/24 brd 192.168.2.255 scope global eth0
inet6 fe80::baac:6fff:fe65:31e5/64 scope link
valid_lft forever preferred_lft forever
But I am not clear on the output So can anyone help me in finding what can be the Ip address in the above data ?