Sometimes I get curious about how much data a network interface has transferred. Actually, I get curious quite frequently after I got an LTE modem for my laptop.
Usually, I just use ifconfig:
With Ubuntu 18.04, however, there is no ifconfig. Yes, I know I can install it, but I wanted to learn how I should be doing it.
I came up with this, using the ‘ip’ command:
Meh. This is gonna take some time to get used to.