ifconfig eth0 | grep "inet addr:" | awk '{print $2}' | cut -c 6-
ifconfig eth1 | grep "inet addr:" | awk '{print $2}' | cut -c 6-
转载于:https://www.cnblogs.com/music378/p/6773160.html
ifconfig eth0 | grep "inet addr:" | awk '{print $2}' | cut -c 6-
ifconfig eth1 | grep "inet addr:" | awk '{print $2}' | cut -c 6-
转载于:https://www.cnblogs.com/music378/p/6773160.html