@diffie if you don’t want to use ethtool (or just want to get the speed/duplex w...

@noisytoot@berkeley.edu.pl

@diffie if you don’t want to use ethtool (or just want to get the speed/duplex with no other info) you can also use /sys/class/net/<interface>/speed and /sys/class/net/<interface>/duplex (speed will be -1 and duplex unknown if nothing is plugged in)