https://www.yisu.com/ask/5671.html

在命令行使用命令:

ifconfig