mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-02 06:55:38 +02:00
ip-{route-show, route}: fix command and clarify (#15976)
This commit is contained in:
parent
ac4b70a930
commit
c66f4ae5d0
2 changed files with 7 additions and 3 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue