HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
configurationcommandipconfigandstateclicontrolview
macos

Problem

How to use the ipconfig command: View and control IP configuration state. More information: <https://keith.github.io/xcode-man-pages/ipconfig.8.html>.

Solution

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}}

Code Snippets

List all network interfaces

ipconfig getiflist

Show the IP address of an interface

ipconfig getifaddr {{interface_name}}

Context

tldr-pages: osx/ipconfig

Revisions (0)

No revisions yet.