过滤IP地址 ip a s eth0 | grep “eth0$” | egrep “([0-9]{1,3}.?){4}” -o | head -1 10.0.0.200 或—— hostname -I