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
- Show information about all network interfaces:
`ip link`
`ip {{[l|link]}}`
- Show information about a specific network interface:
`ip link show {{ethN}}`
`ip {{[l|link]}} show {{ethN}}`
- Bring a network interface up or down:
`ip link set {{ethN}} {{up|down}}`
`ip {{[l|link]}} set {{ethN}} {{up|down}}`
- Give a meaningful name to a network interface:
`ip link set {{ethN}} alias "{{LAN Interface}}"`
`ip {{[l|link]}} set {{ethN}} alias "{{LAN Interface}}"`
- Change the MAC address of a network interface:
`ip link set {{ethN}} address {{ff:ff:ff:ff:ff:ff}}`
`ip {{[l|link]}} set {{ethN}} address {{ff:ff:ff:ff:ff:ff}}`
- Change the MTU size for a network interface to use jumbo frames:
`ip link set {{ethN}} mtu {{9000}}`
`ip {{[l|link]}} set {{ethN}} mtu {{9000}}`