Centos8 ip地址

1.Centos 8 的ip地址查看,以下两条命令都可以

ip addr 
ifconfig -a

2.centos查询上网公网IP

curl ifconfig.me

你可能感兴趣的:(Centos8 ip地址)