网络信息

一般来说 习惯在windwos上使用 ipconfig 来查看网络信息,但是linux 有很多其他更实用的命令

可参考 https://ubuntu.com/server/docs/configuring-networks

ip命令

ip addr

lshw命令

lshw -class network

ethtool命令

ethtool <网卡名>