How to de-suckify Mac's "ifconfig" command
I’ve always despised the default output from the mac’s ifconfig command. Here is an example (too heinous to post to tumblr directly):
http://pastebin.com/raw.php?i=kqRpXjX8
and after applying the macosxhints script (see http://www.macosxhints.com/article.php?story=20100604064451501):
zoso:~ phil$ getnet.sh
Public IP: 174.51.32.32
Hostname: zoso.local
Wired Ethernet (en0)
———————————-
IP Address: inactive
MAC Address: 58:b0:35:f2:65:66
Wireless Ethernet (en1)
———————————-
IP Address: 192.168.1.106 (DHCP)
Subnet Mask: 255.255.255.0
Router: 192.168.1.1
DNS Server: 68.87.85.102, 68.87.69.150
Search Domains: hsd1.co.comcast.net.
MAC Address: 58:b0:35:6a:59:f5
Speed: 54 MBit/s