查询ubuntu的ip地址命令是“ip”,在终端的使用方式如下:
ip addr show
注意:它可以同时返回IPv4和IPv6地址。
本文链接: https://www.jindouyun.cn/knowledge/intelligent-operations/322145