mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
ip-{route-show, route}: fix command and clarify (#15976)
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
> 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:
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> IP Routing table management subcommand.
|
||||
> More information: <https://manned.org/ip-route>.
|
||||
|
||||
- Display the routing table:
|
||||
- Display the `main` routing table:
|
||||
|
||||
`ip {{[r|route]}}`
|
||||
|
||||
@@ -30,3 +30,7 @@
|
||||
- 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}}`
|
||||
|
||||
Reference in New Issue
Block a user