Bash Script Get IP -адрес eth0

ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1
Red Team