mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
Added descriptive names for the arguments for route
This commit is contained in:
parent
124998b65a
commit
efc526f61b
1 changed files with 3 additions and 3 deletions
|
@ -5,11 +5,11 @@
|
|||
|
||||
- add a route to a destination through a gateway
|
||||
|
||||
`sudo route add 10.0.0.0/8 192.168.1.1`
|
||||
`sudo route add {{dest_ip_address}} {{gateway_address}}`
|
||||
|
||||
- run in test mode (does not do anything, just print)
|
||||
|
||||
`sudo route -t add 112.1.124.12/32 192.168.1.1`
|
||||
`sudo route -t add {{dest_ip_address}}/24 {{gateway_address}}`
|
||||
|
||||
- remove all routes
|
||||
|
||||
|
@ -17,4 +17,4 @@
|
|||
|
||||
- delete a specific route
|
||||
|
||||
`sudo route delete 10.0.0.0/24`
|
||||
`sudo route delete {{dest_ip_address}}/24`
|
||||
|
|
Loading…
Add table
Reference in a new issue