ip addr show dev eth0
Display information about a single network interface
To get information about a specific network interface, use ip addr show dev followed by the device name. For example, to query eth0, you would type:
ip addr show dev eth0
https://linuxize.com/post/linux-ip-command/