在terminal输入命令 hostname -I 或 ifconfig 或 ip addr 或 ip address 或 ip addr show 或 ip address show 参考: 4种方法来在Linux系统中查看IP地址