VdStudioS.info
+1.8142333742

lspci -nnk | grep -E -iA3 "network|ethernet"

The command lspci -nnk | grep -E -iA3 "network|ethernet" extracts and displays your system's wireless and wired network hardware details, specifically revealing their hardware codes and the Linux kernel driver/s they are using.

Breakdown

If you execute this on a machine with an Intel wireless card and Broadcom ethernet, it will output something like this:

Sample Output

02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73)
        Subsystem: Intel Corporation Dual Band Wireless-AC 7260 [Wilkens Peak 2] [8086:4470]
        Kernel Driver in use: iwlwifi
        Kernel modules: iwlwifi
0b:00.0 Network controller [0200]: Broadcom Inc. and subsidiaries NetXtreme BCM5761e Gigabit Ethernet PCI [14E4:1680] (rev 10)
        Subsystem: Dell Device [1028:0428]
        Kernel Driver in use: tg3
        Kernel modules: tg3

Key Points

Depending on what you are working on, one of these similar commands may be useful.

Variants

Sitemap
© VdStudioS 2026