Don’t you hate when you need to know and exact model of a specific hardware component but don’t want to open up the machine or find the original documentation on it? Never fear, Linux has you covered.

There are a variety of ways to find out what kind of hardware you’re running, but one of the easiest ways that gives you large amounts of valuable data is to use lshw (Hardware Lister). I’m running Ubuntu 8.10 (Intrepid Ibex), and lshw is installed by default. You can test if you have lshw installed on you system by running the following command:

[chris@home ~]$ sudo lshw

If you get a large listing spewed out on your terminal, you’re good to go. Skip down to the Using lshw section. If you run the lshw command and get a “bash: lshw: command not found” error, you should be able to install lshw using your system’s package manager easily.

Read More→