1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/ifconfig.md
2021-08-15 19:59:09 +02:00

24 lines
439 B
Markdown

# 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}}`