Identifying the hardware

From Crashcourse Wiki

Jump to: navigation, search

There are a number of commands that will show you the hardware on your system:

$ lsusb
$ lsusb --help

$ lspci
$ lspci --help

You can check the appropriate log files to see the kernel messages printed while identifying the hardware at boot time:

# less /var/log/dmesg
# less /var/log/messages

Finally, you can examine various /proc files if it becomes necessary:

$ ls /proc
$ cat /proc/cpuinfo
$ cat /proc/ioports
$ cat /proc/interrupts

(Add any other useful commands you can think of here.)

Personal tools