苹果和windows有些许不同,很多小伙伴在使用中已经发现了。ipconfig不生效,出现以下问题
usage: ipconfig <command> <args>
where <command> is one of waitall, getifaddr, ifcount, getoption, getiflist, getsummary, getpacket, getv6packet, getra, getdhcpduid, getdhcpiaid, set, setverbose
解决方法
ifconfig | grep "inet"
即可,留下你的小赞赞吧,谢谢啦