- 查看内网IP
ifconfig
# 简化输出
ifconfig | grep inet
# 简化输出
或
ifconfig -a
或
ip addr
- 查看外网的ip
curl ifconfig.me
ifconfig
# 简化输出
ifconfig | grep inet
# 简化输出
或
ifconfig -a
或
ip addr
curl ifconfig.me
暂无评论
2023-12-07
2023-12-06
2023-11-24
2023-11-14
2023-11-13
2023-11-13
2023-11-02
2023-11-02
2023-11-02
2023-11-02
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23