mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 17:50:28 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,20 +14,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display the driver information for an interface:
|
||||
|
||||
`ethtool --driver {{eth0}}`
|
||||
`ethtool {{[-i|--driver]}} {{eth0}}`
|
||||
|
||||
- Display all supported features for an interface:
|
||||
|
||||
`ethtool --show-features {{eth0}}`
|
||||
`ethtool {{[-k|--show-features]}} {{eth0}}`
|
||||
|
||||
- Display the network usage statistics for an interface:
|
||||
|
||||
`ethtool --statistics {{eth0}}`
|
||||
`ethtool {{[-S|--statistics]}} {{eth0}}`
|
||||
|
||||
- Blink one or more LEDs on an interface for 10 seconds:
|
||||
|
||||
`ethtool --identify {{eth0}} {{10}}`
|
||||
`ethtool {{[-p|--identify]}} {{eth0}} {{10}}`
|
||||
|
||||
- Set the link speed, duplex mode, and parameter auto-negotiation for a given interface:
|
||||
|
||||
`ethtool -s {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}`
|
||||
`ethtool {{[-s|--change]}} {{eth0}} speed {{10|100|1000}} duplex {{half|full}} autoneg {{on|off}}`
|
||||
|
||||
Reference in New Issue
Block a user