查看本系列汇总:LINUX进阶之路汇总(持续更新)
===============================================================================
1.ifconfig
格式:ifconfig[网络设备][参数]
[root@linuxprobe Desktop]# ifconfig
eno16777728: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:0c:29:09:0e:a4 txqueuelen 1000 (Ethernet)
RX packets 29859 bytes 2122610 (2.0 MiB)
RX errors 0 dropped 872 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x