mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
ifconfig: correct placeholders (#14504)
This commit is contained in:
parent
98c9638ec8
commit
b9de5dc060
1 changed files with 8 additions and 8 deletions
|
@ -3,22 +3,22 @@
|
|||
> Network Interface Configurator.
|
||||
> More information: <https://net-tools.sourceforge.io/man/ifconfig.8.html>.
|
||||
|
||||
- View network settings of an Ethernet adapter:
|
||||
- View network settings of an interface:
|
||||
|
||||
`ifconfig eth0`
|
||||
`ifconfig {{interface_name}}`
|
||||
|
||||
- Display details of all interfaces, including disabled interfaces:
|
||||
|
||||
`ifconfig -a`
|
||||
|
||||
- Disable eth0 interface:
|
||||
- Disable an interface:
|
||||
|
||||
`ifconfig eth0 down`
|
||||
`ifconfig {{interface_name}} down`
|
||||
|
||||
- Enable eth0 interface:
|
||||
- Enable an interface:
|
||||
|
||||
`ifconfig eth0 up`
|
||||
`ifconfig {{interface_name}} up`
|
||||
|
||||
- Assign IP address to eth0 interface:
|
||||
- Assign an IP address to an interface:
|
||||
|
||||
`ifconfig eth0 {{ip_address}}`
|
||||
`ifconfig {{interface_name}} {{ip_address}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue