Skip to content

Commit c66f4ae

Browse files
authoredMar 21, 2025··
ip-{route-show, route}: fix command and clarify (#15976)
1 parent ac4b70a commit c66f4ae

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
 

‎pages/linux/ip-route-show.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
> Display subcommand for IP Routing table management.
44
> More information: <https://manned.org/ip-route>.
55
6-
- Display the routing table:
6+
- Display the `main` routing table:
77

88
`ip {{[r|route]}} {{[s|show]}}`
99

1010
- Display the main routing table (same as first example):
1111

12-
`ip {{[r|route]}} {{[s|show]}} {{main|254}}`
12+
`ip {{[r|route]}} {{[s|show]}} {{[t|table]}} {{main|254}}`
1313

1414
- Display the local routing table:
1515

‎pages/linux/ip-route.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> IP Routing table management subcommand.
44
> More information: <https://manned.org/ip-route>.
55
6-
- Display the routing table:
6+
- Display the `main` routing table:
77

88
`ip {{[r|route]}}`
99

@@ -30,3 +30,7 @@
3030
- Show which route will be used by the kernel to reach an IP address:
3131

3232
`ip {{[r|route]}} {{[g|get]}} {{destination_ip}}`
33+
34+
- Display a specific routing table:
35+
36+
`ip {{[r|route]}} {{[s|show]}} {{[t|table]}} {{table_number}}`

0 commit comments

Comments
 (0)
Please sign in to comment.