Update cheatsheets

This commit is contained in:
ivuorinen
2024-11-02 00:17:01 +00:00
parent 02400c725a
commit 621859be2f
2 changed files with 9 additions and 9 deletions

View File

@@ -8,22 +8,22 @@ source: https://github.com/tldr-pages/tldr.git
> 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}}`

View File

@@ -27,4 +27,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display version:
`wirepumbler --version`
`wireplumber --version`