Linux 查看本地ip
1.ifconfig -a 或 ifconfig | grep inet (展示更為簡潔) 2.ip addr 或 ip addr| grep inet (展示更為簡潔) ...
1.ifconfig -a 或 ifconfig | grep inet (展示更為簡潔) 2.ip addr 或 ip addr| grep inet (展示更為簡潔) ...
服務器中有多個ip,其中有若干個ip不用了,需要刪掉 使用ip addr命令查看有幾個ip 然后 cd /etc/sysconfig/network-scripts/ ...