Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/linux/ip-link Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# ip link
> Manage network interfaces.
> More information: <https://man7.org/linux/man-pages/man8/ip-link.8.html>.
- Show information about all network interfaces:
`ip link`
- Show information about a specific network interface:
`ip link show {{ethN}}`
- Bring a network interface up or down:
`ip link set {{ethN}} {{up|down}}`
- Give a meaningful name to a network interface:
`ip 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}}`
- Change the MTU size for a network interface to use jumbo frames:
`ip link set {{ethN}} mtu {{9000}}`