建立于: 6年前 ( 更新: 6年前 )
用ifconfig加上grep过滤出inet
ifconfig |grep inet
en0 (网卡)
ipconfig getifaddr en0
en1 (Wifi)
ipconfig getifaddr en1
用ifconfig加上grep过滤出inet
ifconfig |grep inet
en0 (网卡)
ipconfig getifaddr en0
en1 (Wifi)
ipconfig getifaddr en1
如果你跟我一样安装Vim,运行terminal是否会出现需要python2.7或python3的错误,但是系统明明就有python 2.7呀, 本文说明我如何修正此问题。
No Comment
Post your comment