摘要: 获取本机IP: cat /proc/net/dev 查看是eth0 还是eth1 ifconfig eth0|awk -F "[ :]+" 'NR==2 {print $4}' 阅读全文
posted @ 2017-07-25 22:20 会飞的熊猫 阅读(150) 评论(0) 推荐(0)