$ sudo ifconfig
[sudo] ggcy 的密码:
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 495240 bytes 55378153 (52.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 495240 bytes 55378153 (52.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.109 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::9659:c6f4:8173:2121 prefixlen 64 scopeid 0x20<link>
ether 40:f0:2f:80:bf:2a txqueuelen 1000 (Ethernet)
RX packets 5214169 bytes 6690354138 (6.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3270089 bytes 508445141 (484.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0