Linux Commands Helper

💬 Your AI-powered Linux assistant

ifconfig Command - Network Interface Configuration

The ifconfig command is used to configure, control, and query TCP/IP network interface parameters from a command line. It is commonly used to view and change the configuration of network interfaces on Unix-like systems.

Syntax

ifconfig [interface] [options]

Examples

ifconfig

Display information about all active network interfaces.

ifconfig eth0

Show configuration for the eth0 interface.

ifconfig eth0 up

Enable the eth0 network interface.

ifconfig eth0 down

Disable the eth0 network interface.

Notes

  • On modern Linux systems, ifconfig is deprecated and replaced by ip command.
  • Some systems may require installing the net-tools package to use ifconfig.
  • Root privileges may be required for some operations.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame