在Linux上查看网络接口 $ ifconfig 网络接口名字的定义一般都是要有意义的。 例如: eth0: ethernet的简称,一般用于以太网接口。 wifi0:wifi是无线局域网,因此wifi0一般指无线网络接口。 lo: local的简称,一般指本地环回接口。