Last active
April 28, 2017 08:29
-
-
Save mpaskalev/6040d8ccab1f115962527411de690eb2 to your computer and use it in GitHub Desktop.
Get all network interfaces on a Unix machine and settings for each of them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /proc/net/dev | grep -Eo '(^[^\:]+)\:' | sed -e 's/^/ethtool/g' | sed -e 's/://g' | while read a; do $a; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment