获取ip

hostname -i | awk '{print $NF}'

 

posted @ 2019-02-04 10:23  effortsing  阅读(146)  评论(0编辑  收藏  举报