Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-10 00:15:53 +00:00
parent 9e2d0f72f1
commit dc654e9ad5
133 changed files with 423 additions and 367 deletions

View File

@@ -14,20 +14,20 @@ source: https://github.com/tldr-pages/tldr.git
- Show information about a specific network interface:
`ip {{[l|link]}} show {{ethN}}`
`ip {{[l|link]}} {{[sh|show]}} {{ethN}}`
- Bring a network interface up or down:
`ip {{[l|link]}} set {{ethN}} {{up|down}}`
`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{up|down}}`
- Give a meaningful name to a network interface:
`ip {{[l|link]}} set {{ethN}} alias "{{LAN Interface}}"`
`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[al|alias]}} "{{LAN Interface}}"`
- Change the MAC address of a network interface:
`ip {{[l|link]}} set {{ethN}} address {{ff:ff:ff:ff:ff:ff}}`
`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[a|address]}} {{ff:ff:ff:ff:ff:ff}}`
- Change the MTU size for a network interface to use jumbo frames:
`ip {{[l|link]}} set {{ethN}} mtu {{9000}}`
`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} mtu {{9000}}`