Networking

ifconfig

Shows or configures network interfaces on older systems.

ifconfig is the legacy interface tool from net-tools. Modern Linux generally uses ip.

Syntax
ifconfig [interface]

Arguments explained

  • Options adjust output or behavior.
  • Arguments name the files, services, hosts, or values the command should work with.

Common examples

Show interfaces
ifconfig

Displays interface addresses if net-tools is installed.

Modern equivalent
ip addr

Uses the newer ip tool.

ifconfig Command
FieldDetails
Commandifconfig
CategoryNetworking
Primary useShows or configures network interfaces on older systems.
Syntaxifconfig [interface]