1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 06:18:17 +01:00
tldr/pages/common/ifconfig.md
2016-01-08 09:38:59 +01:00

404 B

ifconfig

Ifconfig - Interface Configurator, used to configure network interfaces.

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