摘要: ifconfig eth0 | grep -E 'inet addr:|inet 地址:' | awk '{print $2}' | cut -c 6- (获取eth0网卡的IP地址) ifconfig eth0 | grep "HWaddr" | awk '{print $5}' (获取eth0网 阅读全文
posted @ 2017-07-05 14:20 javadongx 阅读(2021) 评论(0) 推荐(0)

javadong@qq.com