tldr/pages/osx/ipconfig.md

269 B

ipconfig

View and control IP configuration state. More information: https://keith.github.io/xcode-man-pages/ipconfig.8.html.

  • List all network interfaces:

ipconfig getiflist

  • Show the IP address of an interface:

ipconfig getifaddr {{interface_name}}