获取主机IP地址 Posted on 2018-06-09 | In linux 命令1ifconfig|grep 'inet '|grep -v 127|awk -F ':' '{print $2}'|cut -d ' ' -f1 Post author: evilvoid Post link: http://www.evilvoid.cn/2018/06/09/获取主机IP地址/ Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.