Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-08 00:14:59 +00:00
parent a812b3c467
commit f8bee5305f
111 changed files with 540 additions and 310 deletions

View File

@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
- List network interfaces and their associated IP addresses:
`ip address`
`ip {{[a|address]}}`
- Filter to show only active network interfaces:
`ip address show up`
`ip {{[a|address]}} show up`
- Display information about a specific network interface:
`ip address show dev {{eth0}}`
`ip {{[a|address]}} show dev {{eth0}}`
- Add an IP address to a network interface:
`ip address add {{ip_address}} dev {{eth0}}`
`ip {{[a|address]}} add {{ip_address}} dev {{eth0}}`
- Remove an IP address from a network interface:
`ip address delete {{ip_address}} dev {{eth0}}`
`ip {{[a|address]}} delete {{ip_address}} dev {{eth0}}`
- Delete all IP addresses in a given scope from a network interface:
`ip address flush dev {{eth0}} scope {{global|host|link}}`
`ip {{[a|address]}} flush dev {{eth0}} scope {{global|host|link}}`