1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 05:17:58 +01:00

ifconfig.md: Adding ifconfig command

This commit is contained in:
Nikhil Sonti 2015-12-28 19:49:50 +05:30
parent 9afba49e86
commit 0492cadd23

23
pages/common/ifconfig.md Normal file
View file

@ -0,0 +1,23 @@
# 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}}`