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/ ...