建立於: 7年前 ( 更新: 7年前 )
                
            用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
如何在自己的MacOS停用或啟用IPV6,可以用networksetup -listallnetworkservices列出所有MacOS的網路裝置,然後再執行停用指令。
No Comment
Post your comment