mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 05:55:46 +00:00
Update cheatsheets
This commit is contained in:
17
linux/ifmetric
Normal file
17
linux/ifmetric
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ifmetric
|
||||
|
||||
> An IPv4 route metrics manipulation tool.
|
||||
> More information: <https://0pointer.de/lennart/projects/ifmetric/>.
|
||||
|
||||
- Set the priority of the specified network interface (a higher number indicates lower priority):
|
||||
|
||||
`sudo ifmetric {{interface}} {{value}}`
|
||||
|
||||
- Reset the priority of the specified network interface:
|
||||
|
||||
`sudo ifmetric {{interface}} {{0}}`
|
||||
Reference in New Issue
Block a user