lspci command : List all PCI devices.
lshw command : List all hardware.
dmidecode command : List all hardware data from BIOS.
ifconfig command : Outdated network config utility.
ip command : Recommended new network config utility.
lspci | egrep -i --color 'network|ethernet'
lshw -class network
ip link show
$ cat /proc/net/dev
dmesg|grep eth
ifconfig -a
https://www.cyberciti.biz/faq/bash-shell-command-to-find-get-ip-address/
网友评论