Back to commands

DHCP

ifconfig

Display network interface details.

Explanation

Ifconfig displays network interface information on macOS and many Linux systems. It is useful for checking adapter status, assigned IP addresses, and interface names.

Syntax

ifconfig

Show all interfaces

ifconfig

Use this to inspect all visible network adapters.

Show one interface

ifconfig en0

On many Macs, en0 is the Wi-Fi interface.

Related Guides

Related Tools