networksetup -listallhardwareports
ipconfig getifaddr
networksetup, networksetup -setdnsservers
networksetup -listallnetworkservices
networksetup -listnetworkserviceorder, -listallhardwareports
ipconfig
ipconfig getifaddr, ipconfig /flushdns, ipconfig /all
Advertising: