会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
build code
工作中 开发琐事 随笔快记!
shell 获取当前ip
2016-04-01 10:31
freefei
阅读(
664
) 评论(
0
)
收藏
举报
HOST_IP=$(hostname --all-ip-addresses | awk '{print $1}')
刷新页面
返回顶部
About
@ https://github.com/ranmufei