ip (aus dem Paket iproute2) dient zur Konfiguration von Netzwerkadressen (Nachfolger von ifconfig).
ip link
ip addr show SCHNITTSTELLE
ip addr show eth0|grep inet|awk '{print $2}'|cut -d / -f1