In Linux I can do: ip -4 address show or (more verbosely): ip -family inet address show to retrieve information on IP addressing. This command returns: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN     group defaultinet 127.0.0.1/8 scope host lo   valid_lft forever preferred_lft forever3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000inet 10.0.1.65/24 brd 10.0.1.255 scope global wlan0   valid_lft forever preferred_lft foreverI'd like to retrieve the same information in OS X from a terminal, without installing additional software and without elevating user privileges. Is any one familiar with the OS X equivalent of this command? For reference, here's the Bash Version I'm using in Mac OS X:GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15) .
ip command of iproute2 package
command line;terminal;osx;iproute