Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-20 00:20:58 +00:00
parent 846fc1563d
commit a360d4dc45
153 changed files with 493 additions and 434 deletions

View File

@@ -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}}`