技术博客

如何列出 Ubuntu 网络适配器 — — 顶部 5 命令来显示以太网适配器

0

在 Linux Ubuntu 中找到的所有网络适配器. 在 Ubuntu 系统上显示所有已安装的以太网适配器列表. 找出你在 Ubuntu 或其他 Linux 系统中使用的网络适配器. Easily find out the manufacturer of the network adapters on your Ubuntu/Linux systems.

You can use the following commands to list Ethernet adapters on a Ubuntu Linux system. These command gives you information about both wired and wireless network adapters.

lshw

The lshw command is used to list hardwares. lshw command extract detailed information on the hardware configuration of the system. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, 等.

Open the Terminal and run the following command:

sudo lshw -C network

lshw-command-ubuntu

lspci command

List all PCI device including Ethernet cards (NICs).


lspci
lspci | less
lspci | grep -i eth

lspci-ubuntu-command

ip command

Display or manipulate routing, 设备, policy routing and tunnels on Linux operating systems. You can use ip command to list all NICs:


ip link

ip-link-command-ubuntu

ifconfig command

Display or configure a network interface on Linux or Unix like operating systems.


ifconfig
ifconfig eth0


/sbin/ifconfig
/sbin/ifconfig eth0

ifconfig-ubuntu-command

如何列出 Ubuntu 网络适配器 — — 顶部 5 命令来显示以太网适配器 原贴上 源的数字 – 最新的技术, 小工具 & 小玩意.