ipconfig

View and control IP configuration state.

Usage

ipconfig <command> <args>

Flags

where <command> is one of waitall, getifaddr, ifcount, getoption, getiflist, getsummary, getpacket, getv6packet, getra, set, setverbose

Examples

Get list of interfaces

ipconfig getiflist                                     
en4 en5 en6 en0 bridge0 en7

Get address of specific interface

ipconfig getifaddr en7   
10.10.13.37