Formatted all pages according to guidelines.
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
# ifconfig
|
||||
|
||||
> ifconfig - Interface Configurator, used to configure network interfaces.
|
||||
> Ifconfig - Interface Configurator, used to configure network interfaces.
|
||||
|
||||
- View network settings of an ethernet adapter.
|
||||
- View network settings of an ethernet adapter:
|
||||
|
||||
`ifconfig eth0`
|
||||
|
||||
- Display details of all interfaces, including disabled interfaces.
|
||||
- Display details of all interfaces, including disabled interfaces:
|
||||
|
||||
`ifconfig -a`
|
||||
|
||||
- Disable eth0 interface.
|
||||
- Disable eth0 interface:
|
||||
|
||||
`ifconfig eth0 down`
|
||||
|
||||
- Enable eth0 interface.
|
||||
- Enable eth0 interface:
|
||||
|
||||
`ifconfig eth0 up`
|
||||
|
||||
- Assign IP address to eth0 interface.
|
||||
- Assign IP address to eth0 interface:
|
||||
|
||||
`ifconfig eth0 {{ip_address}}`
|
||||
|
Reference in New Issue
Block a user