4 ms·
ifconfig is far superior to ip, depending on the use case. Mostly I want to see the current IP, MAC, amount of traffic transfered. Sometimes MTU. Can't do that
by gsich 9y ago
ifconfig is far superior to ip, depending on the use case.
Mostly I want to see the current IP, MAC, amount of traffic transfered. Sometimes MTU.
Can't do that with one command in ip.
- ktta 9y agoip -s a If you want human readable byte/packet numbers ip -s -h a `ip` is actually really cool once you get to know all the features. I missed seeing ifconfig's familiar output but got over it rather (suprisingly) quickly.
- tssva 9y agoIf you want the info for a specific interface ip -s a s <interface> or ip -s -h a s <interface>
- gsich 9y agobut how is that better then ifconfig? with this I see bytes/packets. But not IP, for that I have to use a different command...
- ktta 9y agoHave you actually tried using the command in my comment?
- isatty 9y agoip -s -h a doesn't work on the older version (`iproute2-ss131122`) but does on `iproute2-ss151103`
- deleted 9y ago[deleted]