1
0
Fork 0
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:
Vansh Pandey 2024-11-01 23:36:20 +05:30 committed by GitHub
parent 98c9638ec8
commit b9de5dc060
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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