Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-22 00:18:02 +00:00
parent 374b6c8d34
commit a49466c200
2 changed files with 7 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> IP Routing table management subcommand.
> More information: <https://manned.org/ip-route>.
- Display the routing table:
- Display the `main` routing table:
`ip {{[r|route]}}`
@@ -35,3 +35,7 @@ source: https://github.com/tldr-pages/tldr.git
- Show which route will be used by the kernel to reach an IP address:
`ip {{[r|route]}} {{[g|get]}} {{destination_ip}}`
- Display a specific routing table:
`ip {{[r|route]}} {{[s|show]}} {{[t|table]}} {{table_number}}`

View File

@@ -8,13 +8,13 @@ source: https://github.com/tldr-pages/tldr.git
> Display subcommand for IP Routing table management.
> More information: <https://manned.org/ip-route>.
- Display the routing table:
- Display the `main` routing table:
`ip {{[r|route]}} {{[s|show]}}`
- Display the main routing table (same as first example):
`ip {{[r|route]}} {{[s|show]}} {{main|254}}`
`ip {{[r|route]}} {{[s|show]}} {{[t|table]}} {{main|254}}`
- Display the local routing table: