###MAC ifconfig 输出

###MAC ifconfig 输出结果

1
2
3
4
5
6
7
8
9
* lo 回环接口(loop back) 或者 本地主机(localhost)
* gif 通用 IP-in-IP隧道(RFC2893)stf 6to4连接(RFC3056)
* en 以太网或802.11接口
* fw IP over FireWire(IEEE-1394), macOS特
* 有p2p Point-to-Point 协议
* awdl airdrop peer to peer(一种mesh network), apple airdrop设备特有
* bridge 第2层桥接
* vlan 虚拟局域网络
* 在iOS设备(支持cellular)上还能看到pdp_ip 蜂窝数据连接

Reference-from-Zhihu

###mac查看端口被程序占用情况
lsof -i tcp:port number

lsof
查到程序PID后,可以kill PID