1.下载net-tools sudo apt-get install net-tools 2.终端输入命令 ifconfig 转载于:https://www.cnblogs.com/RogerLu/p/9904481.html