命令:

  ifconfig eth0|awk -F "[ :]+" 'NR==2{print $4}'

posted on 2015-11-23 18:59  Xx0翼  阅读(124)  评论(0编辑  收藏  举报