how to get ethernet interface name in linux code example Example: list interfaces centos ip link show