1. 查看内网IP
ifconfig
# 简化输出
ifconfig | grep inet
# 简化输出
或
ifconfig -a
或
ip addr 
  1. 查看外网的ip
curl ifconfig.me
阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6
标签: centos