System Grab Bag

View all TLDR pages from common (or from all pages)

ifconfig

Network Interface Configurator. More information: https://net-tools.sourceforge.io/man/ifconfig.8.html.
  • View network settings of an Ethernet adapter:
    ifconfig eth0
  • Display details of all interfaces, including disabled interfaces:
    ifconfig -a
  • Disable eth0 interface:
    ifconfig eth0 down
  • Enable eth0 interface:
    ifconfig eth0 up
  • Assign IP address to eth0 interface:
    ifconfig eth0 {{ip_address}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.