Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-09 00:16:26 +00:00
parent f8bee5305f
commit 9e2d0f72f1
116 changed files with 330 additions and 330 deletions

View File

@@ -10,32 +10,32 @@ source: https://github.com/tldr-pages/tldr.git
- Display the routing table:
`ip route show`
`ip {{[r|route]}} show`
- Display the main routing table (same as first example):
`ip route show {{main|254}}`
`ip {{[r|route]}} show {{main|254}}`
- Display the local routing table:
`ip route show table {{local|255}}`
`ip {{[r|route]}} show table {{local|255}}`
- Display all routing tables:
`ip route show table {{all|unspec|0}}`
`ip {{[r|route]}} show table {{all|unspec|0}}`
- List routes from a given device only:
`ip route show dev {{eth0}}`
`ip {{[r|route]}} show dev {{eth0}}`
- List routes within a given scope:
`ip route show scope link`
`ip {{[r|route]}} show scope link`
- Display the routing cache:
`ip route show cache`
`ip {{[r|route]}} show cache`
- Display only IPv6 or IPv4 routes:
`ip {{-6|-4}} route show`
`ip {{-6|-4}} {{[r|route]}} show`