ip addr show
命令查看当前网络接口的IP地址。要保存IP配置,可以编辑网络配置文件如/etc/network/interfaces
(Debian/Ubuntu)或/etc/sysconfig/network-scripts/ifcfg-eth0
(CentOS/RHEL)。ip addr show
命令查看当前网络接口的IP地址。要保存IP配置,可以编辑网络配置文件如/etc/network/interfaces
(Debian/Ubuntu)或/etc/sysconfig/network-scripts/ifcfg-eth0
(CentOS/RHEL)。Powered By Z-BlogPHP 1.7.3