lspci is a command for displaying information about all PCI buses in the system and all devices connected to them.

lspci is useful when you want to diagnose problems or when you want to report bugs related to pci devices.

Report PCI devices bugs

$ lspci -vvx

See how PCI devices connected to PCI bus

With -t option you can see PCI layout in a tree format. You can see exactly all buses, bridges, devices and connections between them on your server/PC PCI bus.
$ lspci -t

      |            +-02.1
      |            \-05.0

Please note that your master PCI bus is 00. It is better to use -v option with -t to get detailed information:

$ lspci -tv


-[00]-+-00.0  Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface
      +-02.0  Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device
      +-1d.0  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
      +-1d.1  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
      +-1d.2  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3
      +-1d.7  Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
      +-1e.0-[01]--+-02.0  Brooktree Corporation Bt878 Video Capture
      |            +-02.1  Brooktree Corporation Bt878 Audio Capture
      |            \-05.0  Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
      +-1f.0  Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge
      +-1f.1  Intel Corporation 82801DB (ICH4) IDE Controller
      +-1f.3  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller
      \-1f.5  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller

See also:

  • Please consult man page of lspci for more information.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 9 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
9 comments… add one
  • Vimal May 12, 2008 @ 17:49

    Will there be any damage caused to the prod or non production system if we execute lspci -s 0:18.1 -xxx from root user ?

    • Murari Singh Jun 8, 2013 @ 4:39

      It’s very useful information by free of cost. Please keep writting to us.

  • 🐧 nixCraft May 12, 2008 @ 18:49


  • felix Nov 22, 2008 @ 3:41

    Hi there,
    I want to congratulate you for publishing your work free of charge over the internet, to help biginners like myself.
    I will be grateful to have links to sites or whole notes on sticky bits, and VNC.
    Thank you in advance.

  • felix Nov 22, 2008 @ 3:45

    Hi again,
    I will be thankful to also have information on job control, and installing packages using yum.

    Thanking you

  • Raj Jul 16, 2009 @ 14:13


  • Ravi Feb 16, 2011 @ 13:18

    Is there any equivalent command of “lspci” in Windows?

  • Chris Aug 23, 2012 @ 0:22

    You probably need to edit /etc/udev/rules.d/70-persistent-net.rules so that the ethernet card you want to use is assigned to the ethX device you want it on.

  • faiza Mar 25, 2014 @ 22:03

    hiiii guys
    how i can know wheather i have wireless connection or not in linux fedora i tried iwconfig but it gave me no wireless connection pls help 🙁

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum