查询本机IP地址:
ifconfig en0
➜ ~git:(master)✗ ifconfig en0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether f4:5c:89:8f:88:71
inet6 fe80::f65c:89ff:fe8f:8871%en0 prefixlen 64 scopeid 0x4
inet 192.168.63.213 netmask 0xffffff00 broadcast 192.168.63.255
nd6 options=1<PERFORMNUD>
media: autoselect
status: active
------