mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 09:01:50 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user