【mac 查看本地ip】利用mac 的 osascript 直接查看本地IPv4

一般我们使用 :ifconfig
可以试试这个(更纯净): osascript -e "IPv4 address of (system info)"

评论

暂无评论