iproute2 and libbpf: vendoring on the small scale
iproute2 and libbpf: vendoring on the small scale
Posted Nov 18, 2020 0:18 UTC (Wed) by nix (subscriber, #2304)In reply to: iproute2 and libbpf: vendoring on the small scale by Wol
Parent article: iproute2 and libbpf: vendoring on the small scale
'ip addr' displays all the information 'ip link' does about links and then adds address info to that, so that is usually enough unless you're looking for. ip -s addr if you want packet stats too (which I almost never do, so I'm glad it's off by default). ('ip link' is still valuable because that's what you use to *configure* the link layer: you can't use ip addr to do that.)